]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: add cursor_update_focus()
authorJohan Malm <jgm323@gmail.com>
Sun, 26 Dec 2021 22:09:41 +0000 (22:09 +0000)
committerJohan Malm <jgm323@gmail.com>
Mon, 21 Mar 2022 17:57:20 +0000 (17:57 +0000)
commit97846ae45b06600ed5bf4fb54daada583fc48d59
tree89fa76e209c0a3fda04dca4ab6f0bed703d6c418
parentbefe66d93f34e040312afdc3d34e3055cc7f0dec
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>
include/labwc.h
src/cursor.c
src/desktop.c