mutter/src
Jonas Ådahl 489bc65381 tests/utils: Add helper to flush the input thread
Add a helper function that ensures any queued virtual input events have
been flushed from the input thread. This works by posting a task to the
input thread, which will itself queue another callback back to the main
thread. Once the main thread callback is invoked, the flush call is
unblocked and the function returns. Upon this, any previously emitted
virtual input event should have already passed through the input thread
back into the main thread, however not necessarily fully processed.

For making sure it has been processed, one also have to make sure the
stage has been updated, e.g. via `meta_wait_for_paint()`.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2727>
2022-12-13 18:31:14 +00:00
..
backends tests/utils: Add helper to flush the input thread 2022-12-13 18:31:14 +00:00
compositor window-actor: Add 'render' debug prints 2022-12-09 20:14:26 +00:00
core tiling: Remove unnecessary update_edge_constraints(). 2022-12-05 18:57:20 +00:00
frames frames: Handle lack of WM_DELETE_WINDOW in WM_PROTOCOLS 2022-12-10 09:38:23 +00:00
meta ui: Excise old frames UI 2022-12-01 20:10:53 +00:00
tests tests/utils: Add helper to flush the input thread 2022-12-13 18:31:14 +00:00
wayland wayland/pointer-constraints: Adjustments for subsurface support 2022-12-09 20:48:55 +00:00
x11 x11: Drop unused function 2022-12-09 16:28:33 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build x11: Remove MetaX11WindowControl 2022-12-01 20:10:53 +00:00
meta-private-enum-types.c.in build: Add missing include 2022-08-10 20:28:40 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00