X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fconfignotify.c;h=4bb09f8a73279bf7ab1b12f1636857092cde1cac;hb=403483db92a290c7f89ae6cdf27ffc18a7eccd35;hp=4d4a7cc54cb10159c49667a0f144bf4d439ee934;hpb=2521fd24c59d1f526cb355952801c3afcf7b9e1f;p=chaz%2Fopenbox diff --git a/tests/confignotify.c b/tests/confignotify.c index 4d4a7cc5..4bb09f8a 100644 --- a/tests/confignotify.c +++ b/tests/confignotify.c @@ -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);