about summary refs log tree commit diff
path: root/exwm-systemtray.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2019-02-06T00·00+0000
committerChris Feng <chris.w.feng@gmail.com>2019-02-06T00·00+0000
commit0f7269c4ec666eb8bcf2616abbb5af46087cbdea (patch)
tree6b6ceb5b7f120a4671178b33d687ffa1da312629 /exwm-systemtray.el
parent44629818bacf3e3a10a37e570fdee2e963dbcc7b (diff)
Add input method support
; The code is basically refactored from
; https://github.com/ch11ng/exim to get better maintenance.

* exwm-xim.el: New module making Emacs's builtin input methods usable
for interacting with X windows.

* exwm-core.el (exwm--intern-atom): New function for intern X11 atoms.
* exwm-input.el (exwm-input--init):
* exwm-manage.el (exwm-manage--init): Use it.
Diffstat (limited to 'exwm-systemtray.el')
-rw-r--r--exwm-systemtray.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/exwm-systemtray.el b/exwm-systemtray.el
index 0ff4efcd8dad..80505c22a555 100644
--- a/exwm-systemtray.el
+++ b/exwm-systemtray.el
@@ -33,7 +33,9 @@
 (require 'xcb-icccm)
 (require 'xcb-xembed)
 (require 'xcb-systemtray)
+
 (require 'exwm-core)
+(require 'exwm-workspace)
 
 (defclass exwm-systemtray--icon ()
   ((width :initarg :width)
@@ -77,12 +79,7 @@ You shall use the default value if using auto-hide minibuffer."
 (defvar exwm-systemtray--selection-owner-window nil
   "The selection owner window.")
 
-(defvar exwm-workspace--current)
-(defvar exwm-workspace--minibuffer)
-(defvar exwm-workspace--workareas)
-(defvar exwm-workspace-current-index)
 (defvar xcb:Atom:_NET_SYSTEM_TRAY_S0)
-(declare-function exwm-workspace--minibuffer-own-frame-p "exwm-workspace.el")
 
 (defun exwm-systemtray--embed (icon)
   "Embed an icon."