fix(tray): Disable tray if nodraw is set
This commit is contained in:
parent
07c6ce8966
commit
d9707068f9
1 changed files with 2 additions and 3 deletions
|
@ -196,6 +196,7 @@ void bar::bootstrap(bool nodraw) { // {{{
|
|||
|
||||
if (nodraw) {
|
||||
m_log.trace("bar: Abort bootstrap routine (reason: nodraw)");
|
||||
m_traymanager.reset();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -444,9 +445,7 @@ void bar::bootstrap(bool nodraw) { // {{{
|
|||
|
||||
// }}}
|
||||
|
||||
if (!nodraw) {
|
||||
bootstrap_tray();
|
||||
}
|
||||
bootstrap_tray();
|
||||
|
||||
m_connection.flush();
|
||||
} // }}}
|
||||
|
|
Loading…
Reference in a new issue