1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-12 09:34:15 +01:00

Replaced USPosition with PPosition because is a programmatically

requested position.
This commit is contained in:
dan
2000-07-16 02:35:49 +00:00
parent c08d8df66e
commit ca837d793f

View File

@@ -40,7 +40,7 @@ typedef struct W_Window {
unsigned configured:1;
unsigned documentEdited:1;
unsigned setUPos:1;
unsigned setPPos:1;
unsigned setAspect:1;
} flags;
} _Window;
@@ -312,8 +312,8 @@ setSizeHints(WMWindow *win)
hints->flags = 0;
if (win->flags.setUPos) {
hints->flags |= USPosition;
if (win->flags.setPPos) {
hints->flags |= PPosition;
hints->x = win->upos.x;
hints->y = win->upos.y;
}
@@ -469,7 +469,7 @@ WMSetWindowAspectRatio(WMWindow *win, int minX, int minY,
void
WMSetWindowInitialPosition(WMWindow *win, int x, int y)
{
win->flags.setUPos = 1;
win->flags.setPPos = 1;
win->upos.x = x;
win->upos.y = y;
if (win->view->flags.realized)