X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fmodal.c;h=edbd5cc0526cd506359ea2ee9add95b2e2a691f6;hb=77baf26a7f2f64ddf1274035fd4991ab17345904;hp=08c6c18e0c9d0bfd8f515408f247e36fac582024;hpb=e5a797f10d61e33f5d02c2d276f615ea3a00793f;p=chaz%2Fopenbox diff --git a/tests/modal.c b/tests/modal.c index 08c6c18e..edbd5cc0 100644 --- a/tests/modal.c +++ b/tests/modal.c @@ -45,13 +45,13 @@ int main () { x, y, w/2, h/2, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,parent,WhitePixel(display,0)); - XSetWindowBackground(display,child,BlackPixel(display,0)); + XSetWindowBackground(display,parent,WhitePixel(display,0)); + XSetWindowBackground(display,child,BlackPixel(display,0)); XSetTransientForHint(display, child, parent); XChangeProperty(display, child, state, XA_ATOM, 32, PropModeReplace, (unsigned char*)&modal, 1); - + XMapWindow(display, parent); XMapWindow(display, child); XFlush(display);