Fix disappearing tags
This commit is contained in:
parent
dd03bb3c40
commit
a325d7e065
1 changed files with 6 additions and 0 deletions
|
@ -454,6 +454,9 @@ namespace modules {
|
|||
m_log.err("%s: Disconnected from socket: %s", name(), err.what());
|
||||
sleep(chrono::duration<double>(1));
|
||||
reconnect_dwm();
|
||||
} catch (const dwmipc::ResultFailureError& err) {
|
||||
new_title = "Unknown";
|
||||
m_log.warn("update_title_label: %s %s", name(), err.what());
|
||||
} catch (const dwmipc::IPCError& err) {
|
||||
throw module_error(err.what());
|
||||
}
|
||||
|
@ -469,6 +472,9 @@ namespace modules {
|
|||
m_log.err("%s: Disconnected from socket: %s", name(), err.what());
|
||||
sleep(chrono::duration<double>(1));
|
||||
reconnect_dwm();
|
||||
} catch (const dwmipc::ResultFailureError& err) {
|
||||
m_is_floating = false;
|
||||
m_log.warn("update_floating_label: %s %s", name(), err.what());
|
||||
} catch (const dwmipc::IPCError& err) {
|
||||
throw module_error(err.what());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue