]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: combine two variables relating to frame-context
authorJohan Malm <jgm323@gmail.com>
Mon, 7 Nov 2022 20:26:37 +0000 (20:26 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 15 Nov 2022 22:23:14 +0000 (22:23 +0000)
commit11cfc49b1291a1a3e1ab9540f5434d9f1a04f60c
treec4a61d8dfe564940df04f5a7140e37d86ca8612a
parent2a9a3781764793caee86d3c6a6747829d80ba6e6
cursor: combine two variables relating to frame-context

Mouse bindings, unlike key bindings, are made within contexts which
represent what was clicked/dragged.  The context 'Frame' refers to the
entire window frame including both the window decorations (if any) and the
client window itself. It is typically used for alti + left/right click to
move/resize the window.

'Frame' is a special case in that when a button is bound in this
context, the action will not be forwarded to the client, which is what
we describe with the 'consumed_by_frame_context' variable.
src/cursor.c