fix(tray): Reconfigure on re-activate

This commit is contained in:
Michael Carlberg 2016-11-04 20:41:24 +01:00
parent e1f637dd4f
commit 0fd89ec358

View File

@ -1009,8 +1009,9 @@ void traymanager::handle(const evt::reparent_notify& evt) { // {{{
void traymanager::handle(const evt::destroy_notify& evt) { // {{{
if (!m_activated && evt->window == m_othermanager) {
m_log.trace("tray: Received destroy_notify");
m_log.trace("tray: Systray selection is available... re-activating");
m_log.info("Tray selection available... re-activating");
activate();
reconfigure_window();
} else if (m_activated) {
auto client = find_client(evt->window);
if (client) {