]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: use layer_try_set_focus() on press
authorJohan Malm <jgm323@gmail.com>
Sat, 9 Mar 2024 10:48:52 +0000 (10:48 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 17 Mar 2024 21:18:47 +0000 (21:18 +0000)
commit06bf71162ee34b35d46106d28412be69e8d173a0
tree9118b997c6c3ee32f83361688af8da15bb61c691
parent045dd8a378cae5ace00fbb59bf7b5b40e538c7b7
cursor: use layer_try_set_focus() on press

This means that the logic described in 2ff026b will be used when a
layer-surface is pressed on with a cursor button. For example, a surface
with on-demand keyboard interactivity will not steal focus from a client
with exclusive keyboard interactivity.
src/input/cursor.c