mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
core/stack: Check client type before getting group
Closes https://gitlab.gnome.org/GNOME/mutter/-/issues/3283
Fixes: 43351b483
("window: Move group to WindowX11")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3572>
This commit is contained in:
parent
5d4cfb607c
commit
cd245bce0c
@ -510,9 +510,10 @@ create_constraints (Constraint **constraints,
|
||||
{
|
||||
GSList *group_windows;
|
||||
GSList *tmp2;
|
||||
MetaGroup *group;
|
||||
MetaGroup *group = NULL;
|
||||
|
||||
group = meta_window_x11_get_group (w);
|
||||
if (w->client_type == META_WINDOW_CLIENT_TYPE_X11)
|
||||
group = meta_window_x11_get_group (w);
|
||||
|
||||
if (group != NULL)
|
||||
group_windows = meta_group_list_windows (group);
|
||||
|
Loading…
Reference in New Issue
Block a user