mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
implement Iconify action
This commit is contained in:
parent
b7cce58f56
commit
a15a56bfe1
1 changed files with 5 additions and 0 deletions
|
|
@ -64,6 +64,11 @@ action(struct server *server, const char *action, const char *command)
|
|||
if (view) {
|
||||
view_toggle_decorations(view);
|
||||
}
|
||||
} else if (!strcasecmp(action, "Iconify")) {
|
||||
struct view *view = topmost_mapped_view(server);
|
||||
if (view) {
|
||||
view_minimize(view, true);
|
||||
}
|
||||
} else {
|
||||
wlr_log(WLR_ERROR, "action (%s) not supported", action);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue