mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
action: add 'MoveToEdge'
Currently only moves view to edges of outputs
Example keybind:
<keybind key="A-Left">
<action name="MoveToEdge">
<direction>left</direction>
</action>
</keybind>
This commit is contained in:
parent
10264110f1
commit
49a73befdb
4 changed files with 57 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ fill_keybind(char *nodename, char *content)
|
|||
current_keybind->action = strdup(content);
|
||||
} else if (!strcmp(nodename, "command.action")) {
|
||||
current_keybind->command = strdup(content);
|
||||
} else if (!strcmp(nodename, "direction.action")) {
|
||||
current_keybind->command = strdup(content);
|
||||
} else if (!strcmp(nodename, "menu.action")) {
|
||||
current_keybind->command = strdup(content);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue