1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

misc bug fixes.

This commit is contained in:
dan
1999-09-18 20:37:23 +00:00
parent 5f4618e8e7
commit e230ca4245
5 changed files with 10 additions and 11 deletions

View File

@@ -718,12 +718,8 @@ wClientGetNormalHints(WWindow *wwin, XWindowAttributes *wattribs, Bool geometry,
#ifdef IGNORE_PPOSITION
wwin->normal_hints->flags &= ~PPosition;
#endif
#if 0
/* this seems obsoleted. Now geometry is taken from XGetWindowAttributes()
* in XGetNormalHints() we only have the hints themselves.
* check this. --Dan
*/
if (/* check this !pre_icccm && */!wwin->screen_ptr->flags.startup && geometry) {
if (pre_icccm && !wwin->screen_ptr->flags.startup && geometry) {
if (wwin->normal_hints->flags & (USPosition|PPosition)) {
*x = wwin->normal_hints->x;
*y = wwin->normal_hints->y;
@@ -733,7 +729,6 @@ wClientGetNormalHints(WWindow *wwin, XWindowAttributes *wattribs, Bool geometry,
*height = wwin->normal_hints->height;
}
}
#endif
}