mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
mousebind: support Border context
This new context includes `Top`...`BRCorner` and makes it easier to modify the mousebinds bound to them.
This commit is contained in:
parent
b5b257092d
commit
02be24bf59
6 changed files with 10 additions and 72 deletions
|
|
@ -143,42 +143,7 @@ static struct mouse_combos {
|
|||
const char *name, *value;
|
||||
} attributes[2];
|
||||
} mouse_combos[] = { {
|
||||
.context = "Left",
|
||||
.button = "Left",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
}, {
|
||||
.context = "Top",
|
||||
.button = "Left",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
}, {
|
||||
.context = "Bottom",
|
||||
.button = "Left",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
}, {
|
||||
.context = "Right",
|
||||
.button = "Left",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
}, {
|
||||
.context = "TLCorner",
|
||||
.button = "Left",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
}, {
|
||||
.context = "TRCorner",
|
||||
.button = "Left",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
}, {
|
||||
.context = "BRCorner",
|
||||
.button = "Left",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
}, {
|
||||
.context = "BLCorner",
|
||||
.context = "Border",
|
||||
.button = "Left",
|
||||
.event = "Drag",
|
||||
.action = "Resize",
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ enum ssd_part_type {
|
|||
LAB_SSD_PART_RIGHT,
|
||||
LAB_SSD_PART_BOTTOM,
|
||||
LAB_SSD_PART_LEFT,
|
||||
LAB_SSD_PART_BORDER,
|
||||
|
||||
LAB_SSD_CLIENT,
|
||||
LAB_SSD_FRAME,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue