all repos — fluxbox @ efe8bf4acd913a48ba08c4fa390297da27d17590

custom fork of the fluxbox windowmanager

fix bug that left empty window frames around
rathnor rathnor
commit

efe8bf4acd913a48ba08c4fa390297da27d17590

parent

2fc279a5e295ebfcb28e7cc234b8f91732939dd1

2 files changed, 6 insertions(+), 2 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 0.9.3: +*03/06/08: + * Fix bug that sometimes left window frames after window closed (Simon) + fluxbox.cc *03/06/06: * Fixes and improvements from Han (Simon, thanks Han) fluxbox-generate_menu fbsetbg
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.151 2003/05/18 22:04:06 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.152 2003/06/08 00:13:41 rathnor Exp $ #include "fluxbox.hh"

@@ -576,7 +576,8 @@ if (XPending(display())) {

XEvent e; XNextEvent(display(), &e); - if (last_bad_window != None && e.xany.window == last_bad_window) { + if (last_bad_window != None && e.xany.window == last_bad_window && + e.type != DestroyNotify) { // we must let the actual destroys through #ifdef DEBUG cerr<<"Fluxbox::eventLoop(): removing bad window from event queue"<<endl; #endif // DEBUG