]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: don't un-minimize previewed window while window switching
authortokyo4j <hrak1529@gmail.com>
Mon, 17 Feb 2025 14:47:07 +0000 (23:47 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Mon, 17 Feb 2025 16:33:21 +0000 (01:33 +0900)
commita8cb8aad30f50bacba944d9915d989e91ee3b708
tree364fed7452a1c6a03b4f3825bae7bbc4f754947f
parentfa6bffa6c686a92053017d495496cea89f9ec8ac
cursor: don't un-minimize previewed window while window switching

This commit restores the check removed in 7a6ecca.

Without the check, if followMouse="yes" and
followMouseRequiresMovement="no", osd_update() => cursor_update_focus() =>
desktop_focus_view() unexpectedly un-minimizes the window on cursor even
when the window is just a preview of window switcher. This caused some
strange behavior that a minimized window selected with window switcher is
immediately hidden after finishing window switching.
src/input/cursor.c