fix(tray): Disable tray if nodraw is set
This commit is contained in:
parent
07c6ce8966
commit
d9707068f9
@ -196,6 +196,7 @@ void bar::bootstrap(bool nodraw) { // {{{
|
|||||||
|
|
||||||
if (nodraw) {
|
if (nodraw) {
|
||||||
m_log.trace("bar: Abort bootstrap routine (reason: nodraw)");
|
m_log.trace("bar: Abort bootstrap routine (reason: nodraw)");
|
||||||
|
m_traymanager.reset();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -444,9 +445,7 @@ void bar::bootstrap(bool nodraw) { // {{{
|
|||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
|
|
||||||
if (!nodraw) {
|
bootstrap_tray();
|
||||||
bootstrap_tray();
|
|
||||||
}
|
|
||||||
|
|
||||||
m_connection.flush();
|
m_connection.flush();
|
||||||
} // }}}
|
} // }}}
|
||||||
|
Loading…
Reference in New Issue
Block a user