From 1b59b9f6e064008e1fb085fcfda7a847a0422696 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 28 May 2007 23:19:51 +0000 Subject: [PATCH] cleaner code yay --- tests/grav.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/grav.c b/tests/grav.c index 5ce3cfb7..6fba13c3 100644 --- a/tests/grav.c +++ b/tests/grav.c @@ -49,7 +49,9 @@ int main () { XMapWindow(display, win); XFlush(display); - XMoveResizeWindow(display, win, 1172-600-b*2, 668-150-b*2, 600, 150); + w = 600; + h = 160; + XMoveResizeWindow(display, win, 1172-w-b*2, 668-h-b*2, w, h); XFlush(display); sleep(1); XResizeWindow(display, win, 900, 275); -- 2.45.2