Merge pull request #918 from Arnaudv6/patch-1

add minimize-raise() action
This commit is contained in:
Alex 2020-11-22 11:08:16 +01:00 committed by GitHub
commit ef7638d45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -436,6 +436,14 @@ bool Task::handle_clicked(GdkEventButton *bt)
activate();
else if (action == "minimize")
minimize(!minimized());
else if (action == "minimize-raise"){
if (minimized())
minimize(false);
else if (active())
minimize(true);
else
activate();
}
else if (action == "maximize")
maximize(!maximized());
else if (action == "fullscreen")