mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +00:00
Revert "wayland/pointer-constraints: Fix window check on subsurfaces"
This reverts commit 50288d1eadba3bc51144463753a54797bf86cb2c. 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…
x
Reference in New Issue
Block a user