mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Fix minor coding style breaches
This commit is contained in:
parent
dca21fd087
commit
b203758ce1
3 changed files with 3 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue