]> git.mdlowis.com Git - proto/labwc.git/commitdiff
seat: change order
authorJens Peters <jp7677@gmail.com>
Sun, 7 Jan 2024 21:20:38 +0000 (22:20 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 10 Jan 2024 21:10:11 +0000 (21:10 +0000)
More in line with other functions.

src/seat.c

index b8fb636dc86b01fb9a2aa46b1b1364664b81bb6b..496f219fdb31ea52cab598a2ebeaa7198767923c 100644 (file)
@@ -351,12 +351,12 @@ new_input_notify(struct wl_listener *listener, void *data)
        case WLR_INPUT_DEVICE_TOUCH:
                input = new_touch(seat, device);
                break;
-       case WLR_INPUT_DEVICE_TABLET_PAD:
-               input = new_tablet_pad(seat, device);
-               break;
        case WLR_INPUT_DEVICE_TABLET_TOOL:
                input = new_tablet(seat, device);
                break;
+       case WLR_INPUT_DEVICE_TABLET_PAD:
+               input = new_tablet_pad(seat, device);
+               break;
        default:
                wlr_log(WLR_INFO, "unsupported input device");
                return;