X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Ffakeunmap.c;h=d30a917e446ac03133e18b3737825b628afbfd75;hb=6c87b1dd703bb67d7c945dc846da9d17c9c72382;hp=c1c698a29debd0c38ac7796c221d5a9e134cf181;hpb=f690980dd13c9b4c45f40dfd2cbd0e13daad9306;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);