]> git.mdlowis.com Git - proto/labwc.git/commit
xdg: Fix positioning of initially-maximized views
authorJohn Lindgren <john@jlindgren.net>
Thu, 9 Feb 2023 21:06:07 +0000 (16:06 -0500)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 10 Feb 2023 09:45:16 +0000 (10:45 +0100)
commitdb1d6fa308979cd49a0a73785046d2022ea32a5a
tree8ab11d7184436f7d3d7c359591f547a142458eee
parenta1b5e1939d8ae418b500bbd53b4002070f79961c
xdg: Fix positioning of initially-maximized views

- Don't overwrite pending size in map() if it was already set
- Don't reposition view in map() if maximized/fullscreen

Also, as future-proofing in case we one day allow initially-tiled views,
replace explicit maximized/fullscreen checks with view_is_floating().
src/xdg.c
src/xwayland.c