sway/sway/desktop
Dudemanguy 3d5ae9813d xdg_shell: update wlr_toplevel size on client resizes
If a floating client resizes itself, sway updates several of its
internal dimensions to match but not wlr_toplevel. This means that the
next time wlroots sends a toplevel configure event, it can have wrong
coordinates that resize the client back to its old size. To fix this,
let's just use wlr_xdg_toplevel_set_size so the wlr_toplevel has the
same dimensions as sway.

Exactly the same as 0183b9d35d but the
logic is onlly applied to xdg_shell and not xwayland.
2023-08-28 17:04:53 -07:00
..
desktop.c chore: chase wlr_output_layout_get_box() update 2022-01-31 11:44:03 +01:00
idle_inhibit_v1.c idle-inhibit-v1: simplify with server global 2023-06-23 12:32:38 +02:00
launcher.c Fix old style function definitions 2023-04-14 18:21:43 +02:00
layer_shell.c chore: chase wlroots xdg-surface role rework 2023-08-21 18:41:32 +02:00
output.c desktop/output: fix output manager enabled state 2023-07-31 16:25:01 +02:00
render.c chase wlroots 'presentation-time: add separate helper for zero-copy ' 2023-07-15 15:21:35 +02:00
surface.c Send wl_surface.preferred_buffer_scale 2023-07-12 09:59:00 +02:00
transaction.c idle-inhibit-v1: simplify with server global 2023-06-23 12:32:38 +02:00
xdg_shell.c xdg_shell: update wlr_toplevel size on client resizes 2023-08-28 17:04:53 -07:00
xwayland.c xwayland: fix mapped state check in OR handlers 2023-06-03 09:12:12 +02:00