GNOME Bugzilla – Bug 667045
x11: Force a _NET_WM_STATE check when the WM goes away
Last modified: 2018-02-10 03:38:56 UTC
I noticed that when changing to twm we'd get stuck with the unfocused theme variant. This should fix it.
Created attachment 204361 [details] [review] x11: Force a _NET_WM_STATE check when the WM goes away Otherwise if the new WM doesn't support _NET_WM_STATE or if there's no WM coming up, we'd never update our toplevels' GdkWindowState.
Review of attachment 204361 [details] [review]: Wouldn't this fit better in the default handler for GdkX11Screen::window-manager-changed ?
(In reply to comment #2) > Wouldn't this fit better in the default handler for > GdkX11Screen::window-manager-changed ? It would be doing needless work when a _NET_SUPPORTING_WM_CHECK compliant WM is detected. We only really need to do it when the WM is going away since we don't know if the WM that comes next (if any) is going to support _NET_WM_STATE which would makes us refresh our state via the PropertyNotify.
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.