diff options
author | rathnor <rathnor> | 2003-06-08 00:13:41 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-06-08 00:13:41 (GMT) |
commit | efe8bf4acd913a48ba08c4fa390297da27d17590 (patch) | |
tree | 29e4eb012de3130cc5a67fea2413041ce885f5d2 /src | |
parent | 2fc279a5e295ebfcb28e7cc234b8f91732939dd1 (diff) | |
download | fluxbox_paul-efe8bf4acd913a48ba08c4fa390297da27d17590.zip fluxbox_paul-efe8bf4acd913a48ba08c4fa390297da27d17590.tar.bz2 |
fix bug that left empty window frames around
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 5 |
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 |