diff --git a/src/cursor.c b/src/cursor.c index 7320c3e7..3e1cb2c4 100644 --- a/src/cursor.c +++ b/src/cursor.c @@ -262,7 +262,7 @@ update_pressed_surface(struct seat *seat, struct cursor_context *ctx) * (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. diff --git a/src/seat.c b/src/seat.c index 4f9beca7..4c9e32d2 100644 --- a/src/seat.c +++ b/src/seat.c @@ -425,7 +425,8 @@ seat_reconfigure(struct server *server) 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); } } diff --git a/src/xwayland.c b/src/xwayland.c index 6c8e1bf9..1abc4906 100644 --- a/src/xwayland.c +++ b/src/xwayland.c @@ -117,8 +117,6 @@ handle_surface_destroy(struct wl_listener *listener, void *data) wl_list_remove(&view->surface_destroy.link); } - - static void handle_destroy(struct wl_listener *listener, void *data) {