display: Don't special-case is_wayland grabs when we sync_input_focus
meta_wayland_seat_repick already detects this case and reacts accordingly.
This commit is contained in:
parent
62e5faeb0c
commit
d004f3f990
@ -1525,9 +1525,6 @@ meta_display_sync_wayland_input_focus (MetaDisplay *display)
|
||||
|
||||
meta_wayland_compositor_set_input_focus (compositor, focus_window);
|
||||
|
||||
if (meta_grab_op_is_wayland (display->grab_op))
|
||||
meta_wayland_pointer_set_focus (&compositor->seat->pointer, NULL);
|
||||
else
|
||||
meta_wayland_seat_repick (compositor->seat, NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user