add minimize-raise() action
This commit is contained in:
parent
faacd76f62
commit
d8dafa7ecc
|
@ -436,6 +436,14 @@ bool Task::handle_clicked(GdkEventButton *bt)
|
||||||
activate();
|
activate();
|
||||||
else if (action == "minimize")
|
else if (action == "minimize")
|
||||||
minimize(!minimized());
|
minimize(!minimized());
|
||||||
|
else if (action == "minimize-raise"){
|
||||||
|
if (minimized())
|
||||||
|
minimize(false);
|
||||||
|
else if (active())
|
||||||
|
minimize(true);
|
||||||
|
else
|
||||||
|
activate();
|
||||||
|
}
|
||||||
else if (action == "maximize")
|
else if (action == "maximize")
|
||||||
maximize(!maximized());
|
maximize(!maximized());
|
||||||
else if (action == "fullscreen")
|
else if (action == "fullscreen")
|
||||||
|
|
Loading…
Reference in New Issue