mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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
@ -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 New Issue
Block a user