wlroots-hyprland/include/wlr/xwayland
John Lindgren 2521fba37c xwayland: add map_request signal
For XWayland surfaces that start maximized, it's best to send an initial
Configure event to set the size of the surface before mapping it. This
reduces visual glitches since the application sees the correct maximized
size when performing its initial layout and drawing.

wlroots surfaces emit their first "map" event after the XWayland window
has already been mapped and the first frame has been drawn & committed.
This is too late to send the initial Configure event.

So, add a new "map_request" event which is emitted immediately before
telling XWayland to map the window. Compositors can connect to this
event to send the initial Configure event to an XWayland app based on
its requested maximized (or fullscreen) state.

Compositors should not place anything visually on the screen at this
point but rather wait until the "map" event as before.
2024-02-23 12:46:25 -05:00
..
server.h xwayland/server: add ready flag 2023-10-10 17:05:04 +02:00
shell.h xwayland: fix double free wlr_xwayland_shell_v1 2023-10-06 10:04:11 +02:00
xwayland.h xwayland: add map_request signal 2024-02-23 12:46:25 -05:00