mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
note about cursor init
This commit is contained in:
parent
ee2b3af1ca
commit
6e02b421cd
1 changed files with 3 additions and 1 deletions
4
dwl.c
4
dwl.c
|
@ -956,7 +956,9 @@ run(char *startup_cmd)
|
|||
selmon = xytomon(cursor->x, cursor->y);
|
||||
|
||||
/* XXX hack to get cursor to display in its initial location (100, 100)
|
||||
* instead of (0, 0) and then jumping */
|
||||
* instead of (0, 0) and then jumping. still may not be fully
|
||||
* initialized, as the image/coordinates are not transformed for the
|
||||
* monitor when displayed here */
|
||||
wlr_cursor_warp_closest(cursor, NULL, cursor->x, cursor->y);
|
||||
wlr_xcursor_manager_set_cursor_image(cursor_mgr, "left_ptr", cursor);
|
||||
|
||||
|
|
Loading…
Reference in a new issue