mirror of
https://github.com/labwc/labwc.git
synced 2026-02-17 22:05:30 -05:00
cursor: add cursor_update_focus()
...and call it from desktop_move_to_front() in order force an enter event on the surface below the cursor when cycling views. Fixes #162 and #225 Inspired by PR #164 - just restructured it a bit. Suggested-by: @bi4k8 Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
This commit is contained in:
parent
befe66d93f
commit
97846ae45b
3 changed files with 23 additions and 1 deletions
|
|
@ -63,6 +63,7 @@ desktop_move_to_front(struct view *view)
|
|||
#if HAVE_XWAYLAND
|
||||
move_xwayland_sub_views_to_front(view);
|
||||
#endif
|
||||
cursor_update_focus(view->server);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue