X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fstacking.c;fp=tests%2Fstacking.c;h=4d2bda95a5931d26688534638b8d590aa6fc987f;hb=77baf26a7f2f64ddf1274035fd4991ab17345904;hp=f93183bb96357521768b3e306f7759fee21f9344;hpb=e5a797f10d61e33f5d02c2d276f615ea3a00793f;p=chaz%2Fopenbox diff --git a/tests/stacking.c b/tests/stacking.c index f93183bb..4d2bda95 100644 --- a/tests/stacking.c +++ b/tests/stacking.c @@ -48,8 +48,8 @@ int main () { x, y, w/2, h/2, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,parent,WhitePixel(display,0)); - XSetWindowBackground(display,child1,BlackPixel(display,0)); + XSetWindowBackground(display,parent,WhitePixel(display,0)); + XSetWindowBackground(display,child1,BlackPixel(display,0)); XSetWindowBackground(display,child2,WhitePixel(display,0)); hints = XAllocWMHints(); @@ -63,7 +63,7 @@ int main () { XSetTransientForHint(display, child1, RootWindow(display, DefaultScreen(display))); XSetTransientForHint(display, child2, parent); - + XMapWindow(display, parent); XFlush(display); sleep(3);