From: Dana Jansens Date: Mon, 28 May 2007 23:19:51 +0000 (+0000) Subject: cleaner code yay X-Git-Tag: mikabox-3.4.3-bumpy~536 X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=1b59b9f6e064008e1fb085fcfda7a847a0422696 cleaner code yay --- diff --git a/tests/grav.c b/tests/grav.c index 5ce3cfb..6fba13c 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);