]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: let followMouse update focus only when cursor enters a surface
authortokyo4j <hrak1529@gmail.com>
Tue, 1 Apr 2025 12:32:31 +0000 (21:32 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 2 Apr 2025 19:42:07 +0000 (20:42 +0100)
commit885919fc5fce2df9bf178204b1c72d4c2d6f8b45
tree426b200b84bd4105d86459b6b9803dde92259835
parent6a04c5f0ddfff0f880efc975c3a649cd2a6ba21e
cursor: let followMouse update focus only when cursor enters a surface

Before this patch, when followMouse and followMouseRequiresMovement are
both yes, we set the keyboard focus when the cursor moves within an
unfocused surface. However, kwin, xfwm4 and openbox all set keyboard focus
only when the cursor enters a surface.
src/input/cursor.c