mirror of
https://github.com/labwc/labwc.git
synced 2026-04-09 08:21:18 -04:00
implement Iconify action
This commit is contained in:
parent
1caedc2492
commit
e4bf5267a8
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