summaryrefslogtreecommitdiff
path: root/src/tests/meta-test-utils.h
diff options
context:
space:
mode:
authorJonas Ã…dahl <jadahl@gmail.com>2022-01-27 18:58:56 +0100
committerMarge Bot <marge-bot@gnome.org>2022-02-09 09:04:09 +0000
commitb7f23c1bafb68af0a9b378e0ad2d362faeaca533 (patch)
tree9b1791fd097eac0212a3b3e0a625571a7bbc2571 /src/tests/meta-test-utils.h
parentb522e3cecdad737394a7554a7da9dc098eaf9d48 (diff)
downloadmutter-b7f23c1bafb68af0a9b378e0ad2d362faeaca533.tar.gz
tests/utils: Add helper to find a window given a title
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2262>
Diffstat (limited to 'src/tests/meta-test-utils.h')
-rw-r--r--src/tests/meta-test-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/meta-test-utils.h b/src/tests/meta-test-utils.h
index 2273b7811..2a42fa641 100644
--- a/src/tests/meta-test-utils.h
+++ b/src/tests/meta-test-utils.h
@@ -85,6 +85,10 @@ gboolean meta_test_client_do (MetaTestClient *client,
...) G_GNUC_NULL_TERMINATED;
META_EXPORT
+MetaWindow * meta_find_window_from_title (MetaContext *context,
+ const char *title);
+
+META_EXPORT
MetaWindow * meta_test_client_find_window (MetaTestClient *client,
const char *window_id,
GError **error);