xmonad / xmonad-contrib

Contributed modules for xmonad
https://xmonad.org
BSD 3-Clause "New" or "Revised" License
589 stars 274 forks source link

only sink window if actually fullscreened #866

Closed geekosaur closed 9 months ago

geekosaur commented 10 months ago

Description

EwmhFullscreen unconditionally sinks windows in response to a _NET_WM_STATE root window message removing _NET_WM_STATE_FULLSCREEN. Unfortunately, at least some versions of either the Gtk or GNOME libraries send this on startup while restoring a window's last known state, which means a manageHook doFloat will be undone.

This change ignores the remove if the window is not fullscreen.

A followup issue, #865, has been added for the follow-on problem that the floating state of a window is not restored on removal of the fullscreen state.

Closes: #820

Checklist