]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: validate double-click against SSD part type
authorJohan Malm <jgm323@gmail.com>
Mon, 25 Mar 2024 21:49:46 +0000 (21:49 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 28 Mar 2024 05:00:06 +0000 (06:00 +0100)
commitd68376f2aca9d8b842bae7cff79f5233a76cdf84
treecfd5ba872b01b62a5a2e5ee344525cce43b8aa12
parent21cad7d1a753106ab3cc2c4b7034a207b0ac34bc
cursor: validate double-click against SSD part type

...because click on different parts of a client should not be
interpreted as a double click.

Previously only cursor-button and view were validated to be the same
between clicks. This resulted in, for example a click on the client
surface itself quickly followed by a click on the SSD titlebar being
interpreted as a double-click on the titlebar.

Fixes: #1657
src/input/cursor.c