mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
cursor: Prevent resetting cursor icon during Move or Resize
Reported-by: @Flrian
This commit is contained in:
parent
c0f0e0c46e
commit
7af74c88a8
2 changed files with 26 additions and 3 deletions
|
|
@ -134,5 +134,14 @@ interactive_end(struct view *view)
|
|||
view_snap_to_edge(view, "down");
|
||||
}
|
||||
}
|
||||
/*
|
||||
* First set the cursor image in case we moved / resized via SSD.
|
||||
* Then allow an application to set its own image in case there
|
||||
* is a surface below the cursor (e.g. moved / resized via 'Alt'
|
||||
* modifier). If there is no surface below the cursor the second
|
||||
* call is a no-op.
|
||||
*/
|
||||
cursor_set(&view->server->seat, XCURSOR_DEFAULT);
|
||||
cursor_update_focus(view->server, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue