mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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,10 +1525,7 @@ 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);
|
||||
meta_wayland_seat_repick (compositor->seat, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user