Fix for bug #24707.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27101 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2008-11-20 16:51:33 +00:00
parent 73c510e9f6
commit 8dddc6afcb
2 changed files with 17 additions and 2 deletions

View file

@ -1,4 +1,9 @@
2008-11-14 Wolfgang Lux <wlux@uni-muenster.de>
2008-11-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/x11/XGServerWindow.m ([XGServer -windowlist]): Implement
a fix for bug #24707.
2008-11-14 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/gpbs.m (init): Don't change SIGABRT handler to prevent
infinite recursion on abort().

View file

@ -2541,7 +2541,17 @@ NSLog(@"styleoffsets ... guessing offsets\n");
}
}
}
XIconifyWindow(dpy, window->ident, window->screen);
/*
* When the application owns the mini window, we withdraw the window itself
* during miniaturization and put up the mini window instead. However, this
* does not work for WindowMaker, which unmaps the mini window, too, when
* the actual window is withdrawn. Fortunately, miniaturizing the actual
* window does already the right thing on WindowMaker.
*/
if (!generic.flags.appOwnsMiniwindow || (generic.wm & XGWM_WINDOWMAKER))
XIconifyWindow(dpy, window->ident, window->screen);
else
XWithdrawWindow(dpy, window->ident, window->screen);
}
/**