]> Dogcows Code - chaz/openbox/blobdiff - tests/confignotify.c
Merge branch 'master' into chaz
[chaz/openbox] / tests / confignotify.c
index 4d4a7cc54cb10159c49667a0f144bf4d439ee934..4bb09f8a73279bf7ab1b12f1636857092cde1cac 100644 (file)
@@ -35,10 +35,10 @@ int main () {
     }
 
     win = XCreateWindow(display, RootWindow(display, 0),
-                        x, y, w, h, 10, CopyFromParent, CopyFromParent,
+                        x, y, w, h, 0, CopyFromParent, CopyFromParent,
                         CopyFromParent, 0, NULL);
 
-    XSetWindowBackground(display,win,WhitePixel(display,0)); 
+    XSetWindowBackground(display,win,WhitePixel(display,0));
 
     XSelectInput(display, win, (ExposureMask | StructureNotifyMask |
                                 GravityNotify));
@@ -46,6 +46,10 @@ int main () {
     XMapWindow(display, win);
     XFlush(display);
 
+    sleep(1);
+    XResizeWindow(display, win, w+5, h+5);
+    XMoveWindow(display, win, x, y);
+
     while (1) {
         XNextEvent(display, &report);
 
This page took 0.022369 seconds and 4 git commands to generate.