X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fmodal.c;h=edbd5cc0526cd506359ea2ee9add95b2e2a691f6;hb=2391410e3fd7767e266c0efe84fd34244ea29dc6;hp=08c6c18e0c9d0bfd8f515408f247e36fac582024;hpb=2442cdfd85e5229c7ee4ac49ca66a7d55ffcb919;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);