mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
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
This commit is contained in:
parent
c3ea956837
commit
c9018da4c4
2 changed files with 82 additions and 41 deletions
|
|
@ -69,6 +69,7 @@ struct xwayland_view {
|
|||
struct wl_listener set_override_redirect;
|
||||
struct wl_listener set_strut_partial;
|
||||
struct wl_listener set_window_type;
|
||||
struct wl_listener map_request;
|
||||
|
||||
/* Not (yet) implemented */
|
||||
/* struct wl_listener set_role; */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue