all repos — openbox @ 8e19e99ac8e5a4e7e9721b10447c4b90f17c2c8f

openbox fork - make it a bit more like ryudo

debug print modified and the confignotify test
Dana Jansens danakj@orodu.net
commit

8e19e99ac8e5a4e7e9721b10447c4b90f17c2c8f

parent

2521fd24c59d1f526cb355952801c3afcf7b9e1f

2 files changed, 7 insertions(+), 3 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -1110,8 +1110,8 @@ RECT_SET(self->area, wattrib.x, wattrib.y, wattrib.width, wattrib.height);

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)
M tests/confignotify.ctests/confignotify.c

@@ -35,7 +35,7 @@ return 0;

} 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));

@@ -45,6 +45,10 @@ GravityNotify));

XMapWindow(display, win); XFlush(display); + + sleep(1); + XResizeWindow(display, win, w+5, h+5); + XMoveWindow(display, win, x, y); while (1) { XNextEvent(display, &report);