]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Fix minor coding style breaches
authorJohan Malm <jgm323@gmail.com>
Sat, 26 Nov 2022 21:35:51 +0000 (21:35 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 27 Nov 2022 03:03:21 +0000 (04:03 +0100)
src/cursor.c
src/seat.c
src/xwayland.c

index 7320c3e7db97cec129a386ea1d56e18d47b803ef..3e1cb2c442fa61c218e85a4f4877ac8629396e80 100644 (file)
@@ -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.
index 4f9beca7e447e8755073e2cc2df4258af75e213b..4c9e32d294adc11eb3d8eb9ba001f51698b50823 100644 (file)
@@ -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);
                }
        }
index 6c8e1bf930783bd1cdffe46950e26bf4c3b0406d..1abc49063bf7026f23737e306d4f4fc5a40961d9 100644 (file)
@@ -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)
 {