X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fusertimewin.c;h=7a2aa97385a216201bf1101c888384096ee2d155;hb=403483db92a290c7f89ae6cdf27ffc18a7eccd35;hp=d5af3797d0cbe0ab695c11d1db7fe822a3726687;hpb=2d2af5314155063a884cd40998adc372d12843cf;p=chaz%2Fopenbox diff --git a/tests/usertimewin.c b/tests/usertimewin.c index d5af3797..7a2aa973 100644 --- a/tests/usertimewin.c +++ b/tests/usertimewin.c @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- usertimewin.c for the Openbox window manager - Copyright (c) 2003-2007 Dana Jansens + Copyright (c) 2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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); }