summaryrefslogtreecommitdiff
path: root/tests/grav.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-01 05:02:26 +0000
committerDana Jansens <danakj@orodu.net>2007-05-01 05:02:26 +0000
commitcad10d8b6db8cb2be9802cea8e0c4db210431d50 (patch)
tree9f1d06468251e710e058f3a1227df87748694188 /tests/grav.c
parent20e5555ec42585a662b8045a345c6741faf7199c (diff)
some old changes to grav.c test, it wasn't a valid test before.
when a window gets reconfigured, try keep it on the monitor if it was before.
Diffstat (limited to 'tests/grav.c')
-rw-r--r--tests/grav.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/grav.c b/tests/grav.c
index 0fe32d49..5aeed8bc 100644
--- a/tests/grav.c
+++ b/tests/grav.c
@@ -49,7 +49,8 @@ int main () {
XMapWindow(display, win);
XFlush(display);
- XMoveWindow(display, win, 960-1, 600-1);
+ XMoveResizeWindow(display, win, 960-1, 600-1, 600, 150);
+ /*XResizeWindow(display, win, 600, 150);*/
XSelectInput(display, win, ExposureMask | StructureNotifyMask);