mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
add minimize-raise() action
This commit is contained in:
parent
faacd76f62
commit
d8dafa7ecc
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user