diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2016-07-19T03·01+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2016-07-19T03·01+0800 |
commit | b409d873b6d1372dd7ba01155f7a03fb8de6e053 (patch) | |
tree | 35fe2782e1c77ca7d5c1f5110d7dee920e143ba9 /exwm-systemtray.el | |
parent | c22f35620f0db3e86f4b0678a29dc3eee48df4d9 (diff) | |
parent | b51f3e65f15385da70b659ef093230913429572b (diff) |
Merge branch 'medranocalvo/dynamic-workspaces' into externals/exwm
Diffstat (limited to 'exwm-systemtray.el')
-rw-r--r-- | exwm-systemtray.el | 7 |
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) |