wlroots-hyprland/types/xdg_shell
Isaac Freund 2072d59da5 xdg-shell: split last-acked and current state
These states are distinct in the time period between the ack_configure
and the next commit on the surface. Splitting these states avoids the
following race for example:

- client starts at 1000x1000
- wlr_xdg_toplevel_set_size 500x500
- size is different -> configure sent
- client acks the configure
- wlr_xdg_toplevel_set_size 1000x1000
- compare_xdg_toplevel_state returns true since there is no pending
  configure and the currently committed size is still 1000x1000
- no new configure is sent
- client commits at the size it last acked, 500x500
2020-08-27 12:36:29 +02:00
..
wlr_xdg_popup.c xdg-shell: check for existing role before setting xdg_popup_surface_role 2020-07-04 12:11:19 +02:00
wlr_xdg_positioner.c Fix -Wreturn-type warnings 2020-05-19 14:54:02 +02:00
wlr_xdg_shell.c Simplify globals implementation by removing destructors 2019-11-25 09:01:46 -05:00
wlr_xdg_surface.c xdg-shell: handle serial wrapping overflow 2020-06-25 10:33:58 +02:00
wlr_xdg_toplevel.c xdg-shell: split last-acked and current state 2020-08-27 12:36:29 +02:00