]> Dogcows Code - chaz/openbox/commitdiff
debug print modified and the confignotify test
authorDana Jansens <danakj@orodu.net>
Sun, 27 May 2007 15:28:16 +0000 (15:28 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 27 May 2007 15:28:16 +0000 (15:28 +0000)
openbox/client.c
tests/confignotify.c

index 1683c6082d1bfff657322164df45dd68af9955ba..aa0d8fafc4f77f836e34a33cf63304c24c470fdb 100644 (file)
@@ -1110,8 +1110,8 @@ static void client_get_area(ObClient *self)
     POINT_SET(self->root_pos, wattrib.x, wattrib.y);
     self->border_width = wattrib.border_width;
 
-    ob_debug("client area: %d %d  %d %d\n", wattrib.x, wattrib.y,
-             wattrib.width, wattrib.height);
+    ob_debug("client area: %d %d  %d %d  bw %d\n", wattrib.x, wattrib.y,
+             wattrib.width, wattrib.height, wattrib.border_width);
 }
 
 static void client_get_desktop(ObClient *self)
index 4d4a7cc54cb10159c49667a0f144bf4d439ee934..d18d27e558f5f95e8e6a82593b33ff82beedab1a 100644 (file)
@@ -35,7 +35,7 @@ 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)); 
@@ -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.023863 seconds and 4 git commands to generate.