From 575b288654c7a97cb8232f5e3d03b327ff0aefd6 Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 25 May 2007 18:18:28 +0000 Subject: little fix for reverting focus from windows that destroy themselves --- src/fluxbox.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 6768a25..25924c3 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -544,8 +544,11 @@ void Fluxbox::eventLoop() { if (last_bad_window != None && e.xany.window == last_bad_window && e.type != DestroyNotify) { // we must let the actual destroys through + if (e.type == FocusOut) + m_revert_timer.start(); #ifdef DEBUG - cerr<<"Fluxbox::eventLoop(): removing bad window from event queue"<