]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland: honor initially maximized requests via _NET_WM_STATE
authorJohn Lindgren <john@jlindgren.net>
Wed, 18 Oct 2023 02:40:57 +0000 (22:40 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 18 Oct 2023 18:49:53 +0000 (19:49 +0100)
commit45a4b3c04758542a99eac60607c2f8203e203caf
tree7e87d11a26803f2bf5bd03df01a8f2a1f7083571
parenta047e4a4e309c04300d3d3a7fb12e78bf3139e88
xwayland: honor initially maximized requests via _NET_WM_STATE

X11 clients may request to be initially fullscreen or maximized by
setting hints in the _NET_WM_STATE property. For some reason, we are
currently only honoring fullscreen requests but not maximize.

The fixes issues with GTK apps (notably Firefox, but others as well)
not starting maximized.

There is a remaining issue that the window position may not be set
correctly after unmaximizing. This will be fixed in a follow-up commit.
src/xwayland.c