From: Dana Jansens Date: Sun, 27 May 2007 15:28:16 +0000 (+0000) Subject: debug print modified and the confignotify test X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=commitdiff_plain;h=8e19e99ac8e5a4e7e9721b10447c4b90f17c2c8f debug print modified and the confignotify test --- diff --git a/openbox/client.c b/openbox/client.c index 1683c608..aa0d8faf 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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) diff --git a/tests/confignotify.c b/tests/confignotify.c index 4d4a7cc5..d18d27e5 100644 --- a/tests/confignotify.c +++ b/tests/confignotify.c @@ -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);