mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 00:50:34 +02:00
wmaker: manage small windows instead of discarding them
A MapRequest asks the window manager to take over the window, so refusing to manage 1x1 placeholders only leaves clients such as qiv unmapped forever. Manage them and let the following resize fix the geometry. Genuinely internal windows should be override-redirect. Fixes: https://github.com/window-maker/wmaker/issues/71
This commit is contained in:
1 parent
b5bd9a1995
commit
535288cec5
1 file changed
-9
@@ -834,15 +834,6 @@ WWindow *wManageWindow(WScreen *scr, Window window)
|
||||
/* get geometry stuff */
|
||||
wClientGetNormalHints(wwin, &wattribs, True, &x, &y, &width, &height);
|
||||
|
||||
/* Some applications create placeholder windows with 1x1 size
|
||||
* (e.g. VirtualBox internal windows). Don't manage those initial
|
||||
* 1x1 windows. */
|
||||
if (width <= 1 && height <= 1 && !wwin->flags.is_dockapp) {
|
||||
wWindowDestroy(wwin);
|
||||
XUngrabServer(dpy);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* get colormap windows */
|
||||
GetColormapWindows(wwin);
|
||||
|
||||
|
||||
Reference in new issue
Block a user