fix bug that left empty window frames around
This commit is contained in:
parent
2fc279a5e2
commit
efe8bf4acd
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
// 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 @@ void Fluxbox::eventLoop() {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue