X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fusertimewin.c;h=7a2aa97385a216201bf1101c888384096ee2d155;hb=6eb740cf119b14903afa3028e108dd98c57ff926;hp=05c3fc3b4b5c15f77958244979fe24b251d0338a;hpb=20eaccaba2020e8396c0c9d9ad1282bf5d2ad95d;p=chaz%2Fopenbox diff --git a/tests/usertimewin.c b/tests/usertimewin.c index 05c3fc3b..7a2aa973 100644 --- a/tests/usertimewin.c +++ b/tests/usertimewin.c @@ -46,8 +46,8 @@ int main () { x, y, w/2, h/2, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,win,WhitePixel(display,0)); - + XSetWindowBackground(display,win,WhitePixel(display,0)); + XMapWindow(display, win); XFlush(display); @@ -66,7 +66,6 @@ int main () { PropModeReplace, (unsigned char*)&num, 1); XFlush(display); - while (1) { XNextEvent(display, &report); }