mirror of
https://github.com/labwc/labwc.git
synced 2026-02-08 10:06:59 -05:00
Merge pull request #523 from jlindgren90/unmanaged-cursor-focus
cursor: Update focus when unmanaged surfaces are mapped/unmapped
This commit is contained in:
commit
62e9bb7236
5 changed files with 55 additions and 28 deletions
|
|
@ -522,14 +522,6 @@ struct view *desktop_node_and_view_at(struct server *server, double lx,
|
|||
|
||||
struct view *desktop_view_at_cursor(struct server *server);
|
||||
|
||||
/**
|
||||
* cursor_rebase - set cursor icon for and send motion-event to surface below it
|
||||
* @seat - current seat
|
||||
* @time_msec - time now
|
||||
* @force - disable check for skipping already focused surface
|
||||
*/
|
||||
void cursor_rebase(struct seat *seat, uint32_t time_msec, bool force);
|
||||
|
||||
/**
|
||||
* cursor_set - set cursor icon
|
||||
* @seat - current seat
|
||||
|
|
@ -538,7 +530,7 @@ void cursor_rebase(struct seat *seat, uint32_t time_msec, bool force);
|
|||
void cursor_set(struct seat *seat, const char *cursor_name);
|
||||
|
||||
/**
|
||||
* cursor_update_focus - update cursor focus
|
||||
* cursor_update_focus - update cursor focus, may update the cursor icon
|
||||
* @server - server
|
||||
* Use it to force an update of the cursor icon and to send an enter event
|
||||
* to the surface below the cursor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue