]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland: set initial geometry in map_request handler
authorJohn Lindgren <john@jlindgren.net>
Tue, 13 Feb 2024 00:52:36 +0000 (19:52 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 19 Jul 2024 21:40:43 +0000 (22:40 +0100)
commitc9018da4c4d9539341e4592caa48e94a5e47c6ea
tree6423b0b429f05cbb70ef4aafb52201d6b2c9d694
parentc3ea956837c31492b956cd9ab4b34ec6ac512628
xwayland: set initial geometry in map_request handler

Set the initial geometry of maximized/fullscreen views before
actually mapping them, so that they can do their initial layout and
drawing with the correct geometry. This avoids visual glitches and
also avoids undesired layout changes with some apps (e.g. HomeBank).

Fixes: #1320
v2: ensure valid geometry for unmanaged->managed case
include/xwayland.h
src/xwayland.c