From: Dana Jansens Date: Mon, 28 May 2007 23:19:51 +0000 (+0000) Subject: cleaner code yay X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=1b59b9f6e064008e1fb085fcfda7a847a0422696;p=chaz%2Fopenbox cleaner code yay --- 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);