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,8 +510,9 @@ create_constraints (Constraint **constraints,
|
||||
{
|
||||
GSList *group_windows;
|
||||
GSList *tmp2;
|
||||
MetaGroup *group;
|
||||
MetaGroup *group = NULL;
|
||||
|
||||
if (w->client_type == META_WINDOW_CLIENT_TYPE_X11)
|
||||
group = meta_window_x11_get_group (w);
|
||||
|
||||
if (group != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user