From 3602762a1848729c9920a843475f62ef2a7ff2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 7 Sep 2021 10:35:27 +0200 Subject: tests/wayland-unit-tests: Add test case for remapping popup with subsurface This test reproduces the crash in https://gitlab.gnome.org/GNOME/mutter/-/issues/1828. It does not reproduce with 'window-actor/wayland: Remove subsurface actors on dispose' (dd416dd3e2eecfe1). applied. This test case differs slightly from the one that came with the dd416dd3e2eecfe1 as in that it uses withdrawn popup surfaces instead of explicitly client managed state. Part-of: --- src/backends/meta-backend-private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backends/meta-backend-private.h') diff --git a/src/backends/meta-backend-private.h b/src/backends/meta-backend-private.h index 1930a1a33..546c612e2 100644 --- a/src/backends/meta-backend-private.h +++ b/src/backends/meta-backend-private.h @@ -117,6 +117,7 @@ void meta_backend_prepare_shutdown (MetaBackend *backend); META_EXPORT_TEST ClutterBackend * meta_backend_get_clutter_backend (MetaBackend *backend); +META_EXPORT_TEST ClutterSeat * meta_backend_get_default_seat (MetaBackend *bakcend); MetaIdleMonitor * meta_backend_get_idle_monitor (MetaBackend *backend, -- cgit v1.2.1