X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fusertimewin.c;h=7ef934f249b0745b1b44b8c9ac507dfebbb54542;hb=de85e4f1d96c911c7c9dc7c2a9b514b13b028aec;hp=d5af3797d0cbe0ab695c11d1db7fe822a3726687;hpb=2d2af5314155063a884cd40998adc372d12843cf;p=chaz%2Fopenbox diff --git a/tests/usertimewin.c b/tests/usertimewin.c index d5af3797..7ef934f2 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);