Revert "wayland/pointer-constraints: Fix window check on subsurfaces"
This reverts commit 50288d1ead
.
The fix is uncomplete and causes crashes under certain circumstances.
As we are close to the next point release let's revert it for now.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2685>
This commit is contained in:
parent
6d1c65551b
commit
d313c8f4fe
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ should_constraint_be_enabled (MetaWaylandPointerConstraint *constraint)
|
|||
{
|
||||
MetaWindow *window;
|
||||
|
||||
window = meta_wayland_surface_get_toplevel_window (constraint->surface);
|
||||
window = meta_wayland_surface_get_window (constraint->surface);
|
||||
if (!window)
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue