X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Ffakeunmap.c;h=d30a917e446ac03133e18b3737825b628afbfd75;hb=77baf26a7f2f64ddf1274035fd4991ab17345904;hp=c1c698a29debd0c38ac7796c221d5a9e134cf181;hpb=e5a797f10d61e33f5d02c2d276f615ea3a00793f;p=chaz%2Fopenbox diff --git a/tests/fakeunmap.c b/tests/fakeunmap.c index c1c698a2..d30a917e 100644 --- a/tests/fakeunmap.c +++ b/tests/fakeunmap.c @@ -38,7 +38,7 @@ int main () { win = XCreateWindow(display, RootWindow(display, 0), x, y, w, h, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, NULL); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XMapWindow(display, win); XFlush(display); @@ -52,7 +52,7 @@ int main () { XSendEvent(display, RootWindow(display, DefaultScreen(display)), False, SubstructureRedirectMask|SubstructureNotifyMask, &msg); usleep(10000); - + XUnmapWindow(display, win); XSync(display, False);