]> git.mdlowis.com Git - proto/labwc.git/commitdiff
seat: re-map pointer to output on reconfigure
authorJens Peters <jp7677@gmail.com>
Fri, 19 Jan 2024 09:12:44 +0000 (10:12 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 22 Jan 2024 21:50:18 +0000 (21:50 +0000)
Makes testing easier, also consistent with other
devices types on reconfigure.

src/seat.c

index c0385108e1c3f677b96ae9b8c6d348088ade1f06..95b8db8434c61a271b2bb7096c18ec5cce8316d8 100644 (file)
@@ -536,6 +536,7 @@ seat_reconfigure(struct server *server)
                        break;
                case WLR_INPUT_DEVICE_POINTER:
                        configure_libinput(input->wlr_input_device);
+                       map_pointer_to_output(seat, input->wlr_input_device);
                        break;
                case WLR_INPUT_DEVICE_TOUCH:
                        configure_libinput(input->wlr_input_device);