mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
don't reset the cursor image
...in internal calls to restore pointer focus. Necessary for the unclutter patch, and there's no harm in avoiding this call even in mainline; might prevents issues in same edge cases.
This commit is contained in:
parent
c9964016b8
commit
cf7c5eae21
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -1490,7 +1490,7 @@ motionnotify(uint32_t time)
|
|||
/* If there's no client surface under the cursor, set the cursor image to a
|
||||
* default. This is what makes the cursor image appear when you move it
|
||||
* off of a client or over its border. */
|
||||
if (!surface)
|
||||
if (!surface && time)
|
||||
wlr_xcursor_manager_set_cursor_image(cursor_mgr,
|
||||
"left_ptr", cursor);
|
||||
|
||||
|
|
Loading…
Reference in a new issue