From: Dana Jansens Date: Fri, 11 May 2007 02:43:35 +0000 (+0000) Subject: just generating some extra configurenotifies X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=b30478ed7641c95ccdc5f4436faaf0eb9f9affe4;p=chaz%2Fopenbox just generating some extra configurenotifies --- diff --git a/tests/noresize.c b/tests/noresize.c index fa920bf1..ed32937a 100644 --- a/tests/noresize.c +++ b/tests/noresize.c @@ -40,7 +40,7 @@ int main () { xswamask = CWWinGravity; win = XCreateWindow(display, RootWindow(display, 0), - x, y, w, h, 10, CopyFromParent, CopyFromParent, + x, y, w, h, 0, CopyFromParent, CopyFromParent, CopyFromParent, xswamask, &xswa); XSetWindowBackground(display,win,WhitePixel(display,0)); @@ -52,10 +52,13 @@ int main () { size.min_height = h; XSetWMNormalHints(display, win, &size); + XSelectInput(display, win, ExposureMask | StructureNotifyMask); + XMapWindow(display, win); XFlush(display); - XSelectInput(display, win, ExposureMask | StructureNotifyMask); + XMoveWindow(display, win, 10, 10); + XMoveWindow(display, win, 10, 10); while (1) { XNextEvent(display, &report);