]> Dogcows Code - chaz/openbox/commitdiff
cleaner code yay
authorDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 23:19:51 +0000 (23:19 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 23:19:51 +0000 (23:19 +0000)
tests/grav.c

index 5ce3cfb7ed4b08642ef4d4be8399bebb3723f51a..6fba13c3f6de1cc3b1ce9bff35412bf2979d1515 100644 (file)
@@ -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);
This page took 0.027205 seconds and 4 git commands to generate.