From ca837d793fb89d916d76321895996489c5e0b251 Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 16 Jul 2000 02:35:49 +0000 Subject: [PATCH] Replaced USPosition with PPosition because is a programmatically requested position. --- WINGs/wwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WINGs/wwindow.c b/WINGs/wwindow.c index 6177ab27..4186a2f4 100644 --- a/WINGs/wwindow.c +++ b/WINGs/wwindow.c @@ -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)