summaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 5b39b2f..9f5f1cc 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.151 2003/05/18 22:04:06 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.152 2003/06/08 00:13:41 rathnor Exp $
26 26
27#include "fluxbox.hh" 27#include "fluxbox.hh"
28 28
@@ -576,7 +576,8 @@ void Fluxbox::eventLoop() {
576 XEvent e; 576 XEvent e;
577 XNextEvent(display(), &e); 577 XNextEvent(display(), &e);
578 578
579 if (last_bad_window != None && e.xany.window == last_bad_window) { 579 if (last_bad_window != None && e.xany.window == last_bad_window &&
580 e.type != DestroyNotify) { // we must let the actual destroys through
580#ifdef DEBUG 581#ifdef DEBUG
581 cerr<<"Fluxbox::eventLoop(): removing bad window from event queue"<<endl; 582 cerr<<"Fluxbox::eventLoop(): removing bad window from event queue"<<endl;
582#endif // DEBUG 583#endif // DEBUG