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 | |
parent | 2fc279a5e295ebfcb28e7cc234b8f91732939dd1 (diff) | |
download | fluxbox-efe8bf4acd913a48ba08c4fa390297da27d17590.zip fluxbox-efe8bf4acd913a48ba08c4fa390297da27d17590.tar.bz2 |
fix bug that left empty window frames around
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/fluxbox.cc | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.3: | 2 | Changes for 0.9.3: |
3 | *03/06/08: | ||
4 | * Fix bug that sometimes left window frames after window closed (Simon) | ||
5 | fluxbox.cc | ||
3 | *03/06/06: | 6 | *03/06/06: |
4 | * Fixes and improvements from Han (Simon, thanks Han) | 7 | * Fixes and improvements from Han (Simon, thanks Han) |
5 | fluxbox-generate_menu fbsetbg | 8 | fluxbox-generate_menu fbsetbg |
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 |