]> git.mdlowis.com Git - proto/labwc.git/commitdiff
input: notify idle manager when emulating cursor move
authorJens Peters <jp7677@gmail.com>
Fri, 12 Apr 2024 21:21:39 +0000 (23:21 +0200)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 12 Apr 2024 21:31:40 +0000 (23:31 +0200)
Looks like we forgot that one earlier.

src/input/cursor.c

index 17c57621d185e663b1ce4134a63d6525b6e02ca0..7d3a87332d08398ad6062c2cd8102745f00915fe 100644 (file)
@@ -1091,6 +1091,8 @@ void
 cursor_emulate_move_absolute(struct seat *seat, struct wlr_input_device *device,
                double x, double y, uint32_t time_msec)
 {
+       idle_manager_notify_activity(seat->seat);
+
        double lx, ly;
        wlr_cursor_absolute_to_layout_coords(seat->cursor,
                device, x, y, &lx, &ly);