Remove redundant code for fullscreen mode

* exwm-manage.el (exwm-manage--unmanage-window)
(exwm--on-ClientMessage): No need to modify workspace when an X window
enters/leaves fullscreen mode.
This commit is contained in:
Chris Feng 2018-02-20 22:09:27 +08:00
parent 7d4c57a6ab
commit bfa35c0e38
2 changed files with 7 additions and 13 deletions

View file

@ -322,9 +322,6 @@ manager is shutting down."
:window window :parent exwm--root :x 0 :y 0))
(xcb:+request exwm--connection
(make-instance 'xcb:DestroyWindow :window container))))
;; Restore the workspace if this X window is currently fullscreen.
(when (memq xcb:Atom:_NET_WM_STATE_FULLSCREEN exwm--ewmh-state)
(exwm-workspace--set-fullscreen exwm--frame))
(exwm-manage--set-client-list)
(xcb:flush exwm--connection))
(let ((kill-buffer-func