]> Dogcows Code - chaz/openbox/commitdiff
just generating some extra configurenotifies
authorDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 02:43:35 +0000 (02:43 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 02:43:35 +0000 (02:43 +0000)
tests/noresize.c

index fa920bf1952173f06247ef5b842158f2203f30e2..ed32937a458e57aba473c86ba8afb7562884627e 100644 (file)
@@ -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);
This page took 0.024959 seconds and 4 git commands to generate.