about summary refs log tree commit diff
diff options
context:
space:
mode:
authorElijah Malaby <qwe12345678910@gmail.com>2021-12-12T18·35-0500
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2022-02-10T00·00+0000
commit563cba2abcfe1df6ed433dc09f6ef412a8e2c706 (patch)
tree39f8e808e31604aa24d94b5996780741b73c6c28
parent445e94189ccdef54bcd11ddef048dbccc44d3584 (diff)
Set WM_STATE on emacs frames
* exwm-workspace.el (exwm-workspace--add-frame-as-workspace): Set
WM_STATE.

Copyright-paperwork-exempt: yes
-rw-r--r--exwm-workspace.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index c513347119a2..083c8ac89390 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -1371,6 +1371,11 @@ Please check `exwm-workspace--minibuffer-own-frame-p' first."
         (make-instance 'xcb:ReparentWindow
                        :window outer-id :parent container :x 0 :y 0))
     (xcb:+request exwm--connection
+        (make-instance 'xcb:icccm:set-WM_STATE
+                       :window outer-id
+                       :state xcb:icccm:WM_STATE:NormalState
+                       :icon xcb:Window:None))
+    (xcb:+request exwm--connection
         (make-instance 'xcb:MapWindow :window container)))
   (xcb:flush exwm--connection)
   ;; Delay making the workspace fullscreen until Emacs becomes idle