* (1) there is a pointer grab active (e.g. XDG popup grab) and
* (2) both surfaces belong to the same XDG toplevel.
*
- * GTK/Wayland menus are known to use an XDG popup grab and to
+ * GTK/Wayland menus are known to use an XDG popup grab and to
* rely on the leave/enter events to work properly. Firefox
* context menus (in contrast) do not use an XDG popup grab and
* do not work properly if we send leave/enter events.
WLR_INPUT_DEVICE_POINTER) {
configure_libinput(input->wlr_input_device);
} else if (input->wlr_input_device->type == WLR_INPUT_DEVICE_KEYBOARD) {
- struct wlr_keyboard *kb = wlr_keyboard_from_input_device(input->wlr_input_device);
+ struct wlr_keyboard *kb =
+ wlr_keyboard_from_input_device(input->wlr_input_device);
wlr_keyboard_set_repeat_info(kb, rc.repeat_rate, rc.repeat_delay);
}
}
wl_list_remove(&view->surface_destroy.link);
}
-
-
static void
handle_destroy(struct wl_listener *listener, void *data)
{