Set WM_STATE on emacs frames

* exwm-workspace.el (exwm-workspace--add-frame-as-workspace): Set
WM_STATE.

Copyright-paperwork-exempt: yes
This commit is contained in:
Elijah Malaby 2021-12-12 13:35:45 -05:00 committed by Adrián Medraño Calvo
parent 445e94189c
commit 563cba2abc

View file

@ -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)