diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-10-09 16:35:59 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-10-22 11:14:53 +0000 |
commit | 85cff1d192f6e066bd912f9a82d348d1f029e0af (patch) | |
tree | ecef25159fac80cfeb263b1e2ca023911bc719ed /src/core/window.c | |
parent | 1edef0219b4f5f40267a31ce78d11d6b87d6c5f8 (diff) | |
download | metacity-85cff1d192f6e066bd912f9a82d348d1f029e0af.tar.gz |
display: put windows from same client in tab list group
Reuse existing meta_window_same_client function to check if windows
are from same client/application.
https://gitlab.gnome.org/GNOME/metacity/-/issues/26
Diffstat (limited to 'src/core/window.c')
-rw-r--r-- | src/core/window.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/window.c b/src/core/window.c index 80e56c37..cae796cb 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -77,9 +77,6 @@ static gboolean process_property_notify (MetaWindow *window, static void meta_window_show (MetaWindow *window); static void meta_window_hide (MetaWindow *window); -static gboolean meta_window_same_client (MetaWindow *window, - MetaWindow *other_window); - static void meta_window_save_rect (MetaWindow *window); static void save_user_window_placement (MetaWindow *window); static void force_save_user_window_placement (MetaWindow *window); @@ -8254,7 +8251,7 @@ meta_window_same_application (MetaWindow *window, * applications (which likely aren't setting the group properly * anyways), it may be desirable to check this as well. */ -static gboolean +gboolean meta_window_same_client (MetaWindow *window, MetaWindow *other_window) { |