From 563cba2abcfe1df6ed433dc09f6ef412a8e2c706 Mon Sep 17 00:00:00 2001 From: Elijah Malaby Date: Sun, 12 Dec 2021 13:35:45 -0500 Subject: [PATCH] Set WM_STATE on emacs frames * exwm-workspace.el (exwm-workspace--add-frame-as-workspace): Set WM_STATE. Copyright-paperwork-exempt: yes --- exwm-workspace.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exwm-workspace.el b/exwm-workspace.el index c513347..083c8ac 100644 --- a/exwm-workspace.el +++ b/exwm-workspace.el @@ -1370,6 +1370,11 @@ Please check `exwm-workspace--minibuffer-own-frame-p' first." (xcb:+request exwm--connection (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)