aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-06-08 00:13:41 (GMT)
committerrathnor <rathnor>2003-06-08 00:13:41 (GMT)
commitefe8bf4acd913a48ba08c4fa390297da27d17590 (patch)
tree29e4eb012de3130cc5a67fea2413041ce885f5d2
parent2fc279a5e295ebfcb28e7cc234b8f91732939dd1 (diff)
downloadfluxbox_paul-efe8bf4acd913a48ba08c4fa390297da27d17590.zip
fluxbox_paul-efe8bf4acd913a48ba08c4fa390297da27d17590.tar.bz2
fix bug that left empty window frames around
-rw-r--r--ChangeLog3
-rw-r--r--src/fluxbox.cc5
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d7c0b89..f6c51a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.3: 2Changes 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