Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
* exwm-layout.el (exwm-layout-unset-fullscreen): Remove double
removal of `xcb:Atom:_NET_WM_STATE_FULLSCREEN' from
`exwm--ewmh-state'.
  • Loading branch information
medranocalvo committed Oct 30, 2021
1 parent 1bc66b6 commit 571ca22
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions exwm-layout.el
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@
(exwm-layout--fullscreen-p))
(cl-return-from exwm-layout-unset-fullscreen))
(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
(exwm-layout--show exwm--id (frame-root-window exwm--floating-frame))
(xcb:+request exwm--connection
Expand Down

0 comments on commit 571ca22

Please sign in to comment.