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:
Jasper St. Pierre 2014-04-12 00:07:45 -07:00
parent 62e5faeb0c
commit d004f3f990

View File

@ -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);
}