about summary refs log tree commit diff
path: root/exwm-systemtray.el
diff options
context:
space:
mode:
Diffstat (limited to 'exwm-systemtray.el')
-rw-r--r--exwm-systemtray.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/exwm-systemtray.el b/exwm-systemtray.el
index 56e5fb8eb728..25f5fa584c4a 100644
--- a/exwm-systemtray.el
+++ b/exwm-systemtray.el
@@ -89,6 +89,11 @@ You shall use the default value if using auto-hide minibuffer.")
                 height* (round (* height (/ (float width*) width)))))
         (exwm--log "(System Tray) Resize from %dx%d to %dx%d"
                    width height width* height*))
+      ;; Add this icon to save-set.
+      (xcb:+request exwm-systemtray--connection
+          (make-instance 'xcb:ChangeSaveSet
+                         :mode xcb:SetMode:Insert
+                         :window icon))
       ;; Reparent to the embedder.
       (xcb:+request exwm-systemtray--connection
           (make-instance 'xcb:ReparentWindow