about summary refs log tree commit diff
path: root/exwm-systemtray.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-07-19T03·01+0800
committerChris Feng <chris.w.feng@gmail.com>2016-07-19T03·01+0800
commitb409d873b6d1372dd7ba01155f7a03fb8de6e053 (patch)
tree35fe2782e1c77ca7d5c1f5110d7dee920e143ba9 /exwm-systemtray.el
parentc22f35620f0db3e86f4b0678a29dc3eee48df4d9 (diff)
parentb51f3e65f15385da70b659ef093230913429572b (diff)
Merge branch 'medranocalvo/dynamic-workspaces' into externals/exwm
Diffstat (limited to 'exwm-systemtray.el')
-rw-r--r--exwm-systemtray.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/exwm-systemtray.el b/exwm-systemtray.el
index db0e0455d2dd..56e5fb8eb728 100644
--- a/exwm-systemtray.el
+++ b/exwm-systemtray.el
@@ -65,6 +65,11 @@ You shall use the default value if using auto-hide minibuffer.")
   "The selection owner window.")
 (defvar exwm-systemtray--embedder nil "The embedder window.")
 
+(defvar exwm-workspace--current)
+(declare-function exwm-workspace--current-height "exwm-workspace.el")
+(declare-function exwm-workspace--current-width  "exwm-workspace.el")
+(declare-function exwm-workspace--minibuffer-own-frame-p "exwm-workspace.el")
+
 (defun exwm-systemtray--embed (icon)
   "Embed an icon."
   (exwm--log "(System Tray) Try to embed #x%x" icon)
@@ -266,8 +271,6 @@ You shall use the default value if using auto-hide minibuffer.")
               (t
                (exwm--log "(System Tray) Unknown opcode message: %s" obj)))))))
 
-(defvar exwm-workspace--current)
-
 (defun exwm-systemtray--on-workspace-switch ()
   "Reparent/Refresh the system tray in `exwm-workspace-switch-hook'."
   (unless (exwm-workspace--minibuffer-own-frame-p)