weston/libweston-desktop
Quentin Glidic d51f826c0b
libweston-desktop/xdg-shell: Consolidate configure event sending
When switching a state twice in a row, we were overwriting the old value
without setting it back, sending a wrong state to the client.

Now we update our requested state, then check if we need to schedule a
configure event, if we have one scheduled already or even if we can
cancel it.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2017-06-26 00:20:11 +02:00
..
client.c Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
internal.h libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.c libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.h libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.pc.in libweston-desktop: Fix libweston-desktop.pc 2016-08-15 11:46:46 +03:00
seat.c Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
surface.c libweston-desktop: don't crash when getting the pid for X clients 2016-12-08 11:58:18 +01:00
wl-shell.c libweston-desktop: destroy wl_shell_surface after the wl_surface is destroyed 2016-10-14 10:52:36 +02:00
xdg-shell-v5.c libweston-desktop/xdg-shell: Consolidate configure event sending 2017-06-26 00:20:11 +02:00
xdg-shell-v6.c libweston-desktop/xdg-shell: Consolidate configure event sending 2017-06-26 00:20:11 +02:00
xwayland.c libweston-desktop/xwayland: react to geometry changes 2017-04-13 11:37:25 +01:00