mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-30 14:38:00 +01:00
Remove duplicate code
* exwm-layout.el (exwm-layout-unset-fullscreen): Remove double removal of `xcb:Atom:_NET_WM_STATE_FULLSCREEN' from `exwm--ewmh-state'.
This commit is contained in:
parent
1bc66b6438
commit
571ca227e7
1 changed files with 0 additions and 2 deletions
|
@ -219,8 +219,6 @@
|
||||||
(exwm-layout--fullscreen-p))
|
(exwm-layout--fullscreen-p))
|
||||||
(cl-return-from exwm-layout-unset-fullscreen))
|
(cl-return-from exwm-layout-unset-fullscreen))
|
||||||
(with-current-buffer (if id (exwm--id->buffer id) (window-buffer))
|
(with-current-buffer (if id (exwm--id->buffer id) (window-buffer))
|
||||||
(setq exwm--ewmh-state
|
|
||||||
(delq xcb:Atom:_NET_WM_STATE_FULLSCREEN exwm--ewmh-state))
|
|
||||||
(if exwm--floating-frame
|
(if exwm--floating-frame
|
||||||
(exwm-layout--show exwm--id (frame-root-window exwm--floating-frame))
|
(exwm-layout--show exwm--id (frame-root-window exwm--floating-frame))
|
||||||
(xcb:+request exwm--connection
|
(xcb:+request exwm--connection
|
||||||
|
|
Loading…
Reference in a new issue