Merge pull request #523 from jlindgren90/unmanaged-cursor-focus

cursor: Update focus when unmanaged surfaces are mapped/unmapped
This commit is contained in:
Johan Malm 2022-09-09 15:48:14 +01:00 committed by GitHub
commit 62e9bb7236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 55 additions and 28 deletions

View file

@ -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.