mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Implement action "Lower"
This commit is contained in:
parent
a6896e6978
commit
753aef9d78
2 changed files with 10 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ enum action_type {
|
|||
ACTION_TYPE_ICONIFY,
|
||||
ACTION_TYPE_MOVE,
|
||||
ACTION_TYPE_RAISE,
|
||||
ACTION_TYPE_LOWER,
|
||||
ACTION_TYPE_RESIZE,
|
||||
ACTION_TYPE_GO_TO_DESKTOP,
|
||||
ACTION_TYPE_SEND_TO_DESKTOP,
|
||||
|
|
@ -93,6 +94,7 @@ const char *action_names[] = {
|
|||
"Iconify",
|
||||
"Move",
|
||||
"Raise",
|
||||
"Lower",
|
||||
"Resize",
|
||||
"GoToDesktop",
|
||||
"SendToDesktop",
|
||||
|
|
@ -440,6 +442,11 @@ actions_run(struct view *activator, struct server *server,
|
|||
desktop_move_to_front(view);
|
||||
}
|
||||
break;
|
||||
case ACTION_TYPE_LOWER:
|
||||
if (view) {
|
||||
desktop_move_to_back(view);
|
||||
}
|
||||
break;
|
||||
case ACTION_TYPE_RESIZE:
|
||||
if (view) {
|
||||
interactive_begin(view, LAB_INPUT_STATE_RESIZE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue