]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland: center stored natural geometry for initially maximized views
authorJohn Lindgren <john@jlindgren.net>
Wed, 18 Oct 2023 03:06:12 +0000 (23:06 -0400)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 18 Oct 2023 18:49:53 +0000 (19:49 +0100)
commita1324c8cdc23cf182121ce5359c05251b5d467e6
tree4798fe1c0a8036724e0a7a615856d395b0ade78a
parent45a4b3c04758542a99eac60607c2f8203e203caf
xwayland: center stored natural geometry for initially maximized views

For views that are initially maximized or fullscreen and have no
explicitly specified position, we need to center the stored natural
geometry, or the view may end up partially offscreen once unmaximized/
unfullscreened.
include/view.h
src/view.c
src/xwayland.c