mutter/src
Robert Mader b5a59ec109 tests/clutter/event-delivery: Avoid race with stage update
`clutter_actor_destroy()` queues a stage update. Under certain
circumstances - i.e. when run in a very slow container - this can race
with the stage update triggered by the following
`clutter_virtual_input_device_notify_button()`, occasionally resulting in
`wait_stage_updated()` to return before the
`on_event_return_propagate()` callbacks ran, making the test fail.

This notably became more common since

8f27ebf87e (clutter/frame-clock: Start next update ASAP after idle period)

landed.

Thus wait for a stage update to happen after `clutter_actor_destroy()`,
preventing the race.

Fixes: f6da583d06 (tests/clutter/event-delivery: Add tests for implicit grabbing)
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3332>
2023-10-18 08:01:42 +02:00
..
backends screen-cast/stream-src: Assert that dmabuf handle lookup succeeds 2023-10-13 16:41:04 +00:00
common multi-texture-format: Add P010 YCbCr format 2023-09-13 14:11:27 +02:00
compositor window-actor/wayland: Ensure to use allocation for black background check 2023-10-05 04:48:54 +02:00
core x11: Simplify handling of focus-follows-mouse 2023-09-28 15:39:44 +00:00
frames cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta multi-texture-format: Add P010 YCbCr format 2023-09-13 14:11:27 +02:00
tests tests/clutter/event-delivery: Avoid race with stage update 2023-10-18 08:01:42 +02:00
wayland wayland: Add conditional Xwayland EI portal support 2023-10-09 07:36:52 +00:00
x11 x11: Add another mechanism to ignore crossing events 2023-09-28 15:39:44 +00:00
meson.build eis: Add "viewport" interface 2023-09-01 10:43:26 +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 cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00