1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-13 12:25:53 +01:00

- Fixed the PPosition/PSize code (I hope) --Dan

- removed "Ignore PPosition/PSize hints" user options, and reverted to
  the old "Keep Inside Screen"
This commit is contained in:
dan
1999-09-17 23:52:59 +00:00
parent c917f68883
commit dfe360e5c0
10 changed files with 43 additions and 34 deletions

View File

@@ -453,7 +453,8 @@ WMSetWindowInitialPosition(WMWindow *win, int x, int y)
win->upos.x = x;
win->upos.y = y;
if (win->view->flags.realized)
setSizeHints(win);
setSizeHints(win);
WMMoveWidget(win, x, y);
}
@@ -464,7 +465,8 @@ WMSetWindowInitialSize(WMWindow *win, unsigned width, unsigned height)
win->usize.width = width;
win->usize.height = height;
if (win->view->flags.realized)
setSizeHints(win);
setSizeHints(win);
WMResizeWidget(win, width, height);
}