mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
src/cursor.c: make sure the cursor is visible after startup
Before this patch, the cursor was invisible after labwc startup unless manually moved by the user (or being positioned on top of some some automatically spawned client surface). This patch sets the cursor from its uninitialized value (LAB_CURSOR_CLIENT) to the default cursor.
This commit is contained in:
parent
4cd8afa83e
commit
e44d565672
1 changed files with 3 additions and 0 deletions
|
|
@ -1176,6 +1176,9 @@ cursor_init(struct seat *seat)
|
|||
cursor_names = cursors_x11;
|
||||
}
|
||||
|
||||
/* Set the initial cursor image so the cursor is visible right away */
|
||||
cursor_set(seat, LAB_CURSOR_DEFAULT);
|
||||
|
||||
dnd_init(seat);
|
||||
|
||||
seat->cursor_motion.notify = cursor_motion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue