diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-07-17 02:48:16 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-07-17 02:48:16 +0200 |
| commit | 77baf26a7f2f64ddf1274035fd4991ab17345904 (patch) | |
| tree | 1b7719e8dd6785bbedca505c53ce3cfcf398fff0 /tests | |
| parent | e5a797f10d61e33f5d02c2d276f615ea3a00793f (diff) | |
remove trailing whitespace
Diffstat (limited to 'tests')
35 files changed, 70 insertions, 70 deletions
diff --git a/tests/aspect.c b/tests/aspect.c index f303deb7..1ae3a859 100644 --- a/tests/aspect.c +++ b/tests/aspect.c @@ -43,7 +43,7 @@ int main () { x, y, w, h, 10, CopyFromParent, CopyFromParent, CopyFromParent, xswamask, &xswa); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); size.flags = PAspect; size.min_aspect.x = 3; @@ -51,7 +51,7 @@ int main () { size.max_aspect.x = 3; size.max_aspect.y = 3; XSetWMNormalHints(display, win, &size); - + XMapWindow(display, win); XFlush(display); diff --git a/tests/big.c b/tests/big.c index b1bdf674..bc17c5a4 100644 --- a/tests/big.c +++ b/tests/big.c @@ -38,7 +38,7 @@ int main () { 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); diff --git a/tests/borderchange.c b/tests/borderchange.c index a9b3a3d1..56d55006 100644 --- a/tests/borderchange.c +++ b/tests/borderchange.c @@ -38,7 +38,7 @@ int main () { x, y, w, h, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, NULL); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XSelectInput(display, win, ExposureMask | StructureNotifyMask); XMapWindow(display, win); diff --git a/tests/confignotify.c b/tests/confignotify.c index d18d27e5..4bb09f8a 100644 --- a/tests/confignotify.c +++ b/tests/confignotify.c @@ -38,7 +38,7 @@ int main () { x, y, w, h, 0, CopyFromParent, CopyFromParent, CopyFromParent, 0, NULL); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XSelectInput(display, win, (ExposureMask | StructureNotifyMask | GravityNotify)); diff --git a/tests/confignotifymax.c b/tests/confignotifymax.c index 4d1a6c9c..0debf5ec 100644 --- a/tests/confignotifymax.c +++ b/tests/confignotifymax.c @@ -44,7 +44,7 @@ int main () { x, y, w, h, 0, CopyFromParent, CopyFromParent, CopyFromParent, 0, NULL); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XChangeProperty(display, win, _net_state, XA_ATOM, 32, PropModeReplace, (unsigned char*)&_net_max, 2); diff --git a/tests/duplicatesession.c b/tests/duplicatesession.c index 55f300e6..5abe9956 100644 --- a/tests/duplicatesession.c +++ b/tests/duplicatesession.c @@ -47,8 +47,8 @@ int main (int argc, char **argv) { x, y, w, h, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, NULL); - XSetWindowBackground(display,win1,WhitePixel(display,0)); - XSetWindowBackground(display,win2,BlackPixel(display,0)); + XSetWindowBackground(display,win1,WhitePixel(display,0)); + XSetWindowBackground(display,win2,BlackPixel(display,0)); XChangeProperty(display, win1, sm_id, enc, 8, PropModeAppend, "abcdefg", strlen("abcdefg")); 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); diff --git a/tests/fallback.c b/tests/fallback.c index 16e98dd4..721ed31e 100644 --- a/tests/fallback.c +++ b/tests/fallback.c @@ -40,8 +40,8 @@ int main () { 0,0,150,150, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,one,WhitePixel(display,0)); - XSetWindowBackground(display,two,BlackPixel(display,0)); + XSetWindowBackground(display,one,WhitePixel(display,0)); + XSetWindowBackground(display,two,BlackPixel(display,0)); XSetTransientForHint(display, two, one); diff --git a/tests/focusout.c b/tests/focusout.c index df28ce5d..03ba56f6 100644 --- a/tests/focusout.c +++ b/tests/focusout.c @@ -44,8 +44,8 @@ int main () { 10, 10, w-20, h-20, 0, CopyFromParent, CopyFromParent, CopyFromParent, 0, NULL); - XSetWindowBackground(display,win,WhitePixel(display,0)); - XSetWindowBackground(display,child,BlackPixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,child,BlackPixel(display,0)); XSelectInput(display, win, FocusChangeMask|EnterWindowMask|LeaveWindowMask); diff --git a/tests/fullscreen.c b/tests/fullscreen.c index 6e32f46d..6907cab5 100644 --- a/tests/fullscreen.c +++ b/tests/fullscreen.c @@ -42,7 +42,7 @@ int main () { 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); diff --git a/tests/grav.c b/tests/grav.c index 6fba13c3..772fec2b 100644 --- a/tests/grav.c +++ b/tests/grav.c @@ -44,7 +44,7 @@ int main () { XSetWMNormalHints(display, win, hints); XFree(hints); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XMapWindow(display, win); XFlush(display); diff --git a/tests/groupmodal.c b/tests/groupmodal.c index 0f670c51..12057eb9 100644 --- a/tests/groupmodal.c +++ b/tests/groupmodal.c @@ -49,8 +49,8 @@ int main () { 0,0,100,100, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,one,WhitePixel(display,0)); - XSetWindowBackground(display,two,BlackPixel(display,0)); + XSetWindowBackground(display,one,WhitePixel(display,0)); + XSetWindowBackground(display,two,BlackPixel(display,0)); XSetTransientForHint(display, two, RootWindow(display,0)); XChangeProperty(display, two, state, XA_ATOM, 32, @@ -65,7 +65,7 @@ int main () { XSetWMHints(display, two, wmhints); XFree(wmhints); - + XMapWindow(display, one); XFlush(display); sleep(1); diff --git a/tests/grouptran.c b/tests/grouptran.c index 4cc3dc64..320da2f6 100644 --- a/tests/grouptran.c +++ b/tests/grouptran.c @@ -45,8 +45,8 @@ int main () { 0,0,100,100, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,one,WhitePixel(display,0)); - XSetWindowBackground(display,two,BlackPixel(display,0)); + XSetWindowBackground(display,one,WhitePixel(display,0)); + XSetWindowBackground(display,two,BlackPixel(display,0)); XSetTransientForHint(display, two, RootWindow(display,0)); @@ -59,7 +59,7 @@ int main () { XSetWMHints(display, two, wmhints); XFree(wmhints); - + XMapWindow(display, one); XMapWindow(display, two); XFlush(display); diff --git a/tests/grouptran2.c b/tests/grouptran2.c index 44736905..4cd6c588 100644 --- a/tests/grouptran2.c +++ b/tests/grouptran2.c @@ -48,9 +48,9 @@ int main () { 20,20,60,60, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,main,WhitePixel(display,0)); - XSetWindowBackground(display,grouptran,BlackPixel(display,0)); - XSetWindowBackground(display,child,WhitePixel(display,0)); + XSetWindowBackground(display,main,WhitePixel(display,0)); + XSetWindowBackground(display,grouptran,BlackPixel(display,0)); + XSetWindowBackground(display,child,WhitePixel(display,0)); XSetTransientForHint(display, grouptran, RootWindow(display,0)); XSetTransientForHint(display, child, grouptran); @@ -65,7 +65,7 @@ int main () { XSetWMHints(display, child, wmhints); XFree(wmhints); - + XMapWindow(display, main); XMapWindow(display, grouptran); XMapWindow(display, child); diff --git a/tests/grouptrancircular.c b/tests/grouptrancircular.c index ce3ae6ad..3853aefb 100644 --- a/tests/grouptrancircular.c +++ b/tests/grouptrancircular.c @@ -45,8 +45,8 @@ int main () { 0,0,100,100, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,one,WhitePixel(display,0)); - XSetWindowBackground(display,two,BlackPixel(display,0)); + XSetWindowBackground(display,one,WhitePixel(display,0)); + XSetWindowBackground(display,two,BlackPixel(display,0)); XSetTransientForHint(display, one, RootWindow(display,0)); XSetTransientForHint(display, two, RootWindow(display,0)); @@ -60,7 +60,7 @@ int main () { XSetWMHints(display, two, wmhints); XFree(wmhints); - + XMapWindow(display, one); XMapWindow(display, two); XFlush(display); diff --git a/tests/grouptrancircular2.c b/tests/grouptrancircular2.c index 4e129cea..1956c8ff 100644 --- a/tests/grouptrancircular2.c +++ b/tests/grouptrancircular2.c @@ -48,8 +48,8 @@ int main () { 0,0,100,100, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,one,WhitePixel(display,0)); - XSetWindowBackground(display,two,BlackPixel(display,0)); + XSetWindowBackground(display,one,WhitePixel(display,0)); + XSetWindowBackground(display,two,BlackPixel(display,0)); XSetTransientForHint(display, one, RootWindow(display,0)); XSetTransientForHint(display, two, one); @@ -65,7 +65,7 @@ int main () { XSetWMHints(display, three, wmhints); XFree(wmhints); - + XMapWindow(display, one); XMapWindow(display, two); XMapWindow(display, three); diff --git a/tests/icons.c b/tests/icons.c index 10e89a57..315a10fb 100644 --- a/tests/icons.c +++ b/tests/icons.c @@ -44,7 +44,7 @@ Window findClient(Display *d, Window win) XGetWindowProperty(d, win, state, 0, 1, False, state, &ret_type, &ret_format, &ret_items, &ret_bytesleft, - (unsigned char**) &prop_return); + (unsigned char**) &prop_return); if (ret_type == None || ret_items < 1) return None; return win; // found it! @@ -69,9 +69,9 @@ int main(int argc, char **argv) Pixmap p; Cursor cur; XEvent ev; - + printf("Click on a window with an icon...\n"); - + //int id = strtol(argv[1], NULL, 16); XUngrabPointer(d, CurrentTime); cur = XCreateFontCursor(d, XC_crosshair); @@ -87,10 +87,10 @@ int main(int argc, char **argv) } printf("Using window 0x%lx\n", id); - + do { unsigned int w, h; - + XGetWindowProperty(d, id, net_wm_icon, offset++, 1, False, XA_CARDINAL, &ret_type, &ret_format, &ret_items, &ret_bytesleft, @@ -124,7 +124,7 @@ int main(int argc, char **argv) offset += w*h; printf("Found icon with size %dx%d\n", w, h); - + i[image] = XCreateImage(d, DefaultVisual(d, s), DefaultDepth(d, s), ZPixmap, 0, NULL, w, h, 32, 0); assert(i[image]); @@ -140,7 +140,7 @@ int main(int argc, char **argv) unsigned char bgr = 0; unsigned char bgg = 0; unsigned char bgb = 0; - + r = bgr + (r - bgr) * alpha / 256; g = bgg + (g - bgg) * alpha / 256; b = bgb + (b - bgb) * alpha / 256; @@ -172,7 +172,7 @@ int main(int argc, char **argv) x += i[j]->width; XDestroyImage(i[j]); } - + XSetWindowBackgroundPixmap(d, win, p); XClearWindow(d, win); diff --git a/tests/mapiconic.c b/tests/mapiconic.c index 4e0f07c5..76455a06 100644 --- a/tests/mapiconic.c +++ b/tests/mapiconic.c @@ -53,7 +53,7 @@ int main () { XSetWMHints(display, win, hints); XFree(hints); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XMapWindow(display, win); XFlush(display); diff --git a/tests/modal.c b/tests/modal.c index 08c6c18e..edbd5cc0 100644 --- a/tests/modal.c +++ b/tests/modal.c @@ -45,13 +45,13 @@ int main () { x, y, w/2, h/2, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,parent,WhitePixel(display,0)); - XSetWindowBackground(display,child,BlackPixel(display,0)); + XSetWindowBackground(display,parent,WhitePixel(display,0)); + XSetWindowBackground(display,child,BlackPixel(display,0)); XSetTransientForHint(display, child, parent); XChangeProperty(display, child, state, XA_ATOM, 32, PropModeReplace, (unsigned char*)&modal, 1); - + XMapWindow(display, parent); XMapWindow(display, child); XFlush(display); diff --git a/tests/modal2.c b/tests/modal2.c index ff8316f7..e7afb9b0 100644 --- a/tests/modal2.c +++ b/tests/modal2.c @@ -46,11 +46,11 @@ int main () { x, y, w/2, h/2, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,parent,WhitePixel(display,0)); - XSetWindowBackground(display,child,BlackPixel(display,0)); + XSetWindowBackground(display,parent,WhitePixel(display,0)); + XSetWindowBackground(display,child,BlackPixel(display,0)); XSetTransientForHint(display, child, parent); - + XMapWindow(display, parent); XMapWindow(display, child); XFlush(display); @@ -65,7 +65,7 @@ int main () { ce.xclient.data.l[2] = 0; XSendEvent(display, RootWindow(display, DefaultScreen(display)), False, SubstructureNotifyMask | SubstructureRedirectMask, &ce); - + while (1) { XNextEvent(display, &report); } diff --git a/tests/modal3.c b/tests/modal3.c index a4c38f84..76c82196 100644 --- a/tests/modal3.c +++ b/tests/modal3.c @@ -46,11 +46,11 @@ int main () { x, y, w/2, h/2, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,parent,WhitePixel(display,0)); - XSetWindowBackground(display,child,BlackPixel(display,0)); + XSetWindowBackground(display,parent,WhitePixel(display,0)); + XSetWindowBackground(display,child,BlackPixel(display,0)); XSetTransientForHint(display, child, parent); - + XMapWindow(display, parent); XMapWindow(display, child); XFlush(display); @@ -69,7 +69,7 @@ int main () { ce.xclient.data.l[0] = 0; XSendEvent(display, RootWindow(display, DefaultScreen(display)), False, SubstructureNotifyMask | SubstructureRedirectMask, &ce); - + while (1) { XNextEvent(display, &report); } diff --git a/tests/noresize.c b/tests/noresize.c index ed32937a..c98295bd 100644 --- a/tests/noresize.c +++ b/tests/noresize.c @@ -43,7 +43,7 @@ int main () { x, y, w, h, 0, CopyFromParent, CopyFromParent, CopyFromParent, xswamask, &xswa); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); size.flags = PMinSize | PMaxSize; size.max_width = 0; @@ -51,7 +51,7 @@ int main () { size.max_height = 0; size.min_height = h; XSetWMNormalHints(display, win, &size); - + XSelectInput(display, win, ExposureMask | StructureNotifyMask); XMapWindow(display, win); diff --git a/tests/override.c b/tests/override.c index 2b71ffa9..44c3a003 100644 --- a/tests/override.c +++ b/tests/override.c @@ -41,7 +41,7 @@ int main () { x, y, w, h, 10, CopyFromParent, CopyFromParent, CopyFromParent, xswamask, &xswa); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XMapWindow(display, win); XFlush(display); diff --git a/tests/positioned.c b/tests/positioned.c index 9b1f7310..26f835d6 100644 --- a/tests/positioned.c +++ b/tests/positioned.c @@ -38,7 +38,7 @@ int main (int argc, char **argv) { win = XCreateWindow(display, RootWindow(display, 0), x, y, w, h, 0, CopyFromParent, CopyFromParent, CopyFromParent, 0, NULL); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); size = XAllocSizeHints(); size->flags = PPosition; diff --git a/tests/resize.c b/tests/resize.c index 4eecca27..e3a84bb8 100644 --- a/tests/resize.c +++ b/tests/resize.c @@ -37,7 +37,7 @@ int main () { 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); diff --git a/tests/restack.c b/tests/restack.c index 4a0d9554..fe1bcdb6 100644 --- a/tests/restack.c +++ b/tests/restack.c @@ -41,7 +41,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); diff --git a/tests/shape.c b/tests/shape.c index 9425f756..c3de7da3 100644 --- a/tests/shape.c +++ b/tests/shape.c @@ -50,7 +50,7 @@ int main () { ShapeBounding, 0, 0, &xrect, 1, ShapeSet, Unsorted); - XSetWindowBackground(display,win,BlackPixel(display,0)); + XSetWindowBackground(display,win,BlackPixel(display,0)); XMapWindow(display, win); XFlush(display); diff --git a/tests/showhide.c b/tests/showhide.c index a0b51e7a..d1a63e2f 100644 --- a/tests/showhide.c +++ b/tests/showhide.c @@ -39,7 +39,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); usleep(1000); diff --git a/tests/skiptaskbar.c b/tests/skiptaskbar.c index 152717bf..1b246160 100644 --- a/tests/skiptaskbar.c +++ b/tests/skiptaskbar.c @@ -42,7 +42,7 @@ int main () { x, y, w, h, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XChangeProperty(display, win, state, XA_ATOM, 32, PropModeReplace, (unsigned char*)&skip, 1); diff --git a/tests/skiptaskbar2.c b/tests/skiptaskbar2.c index 18e6453d..3fb22315 100644 --- a/tests/skiptaskbar2.c +++ b/tests/skiptaskbar2.c @@ -42,7 +42,7 @@ int main () { x, y, w, h, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); XMapWindow(display, win); XFlush(display); diff --git a/tests/stacking.c b/tests/stacking.c index f93183bb..4d2bda95 100644 --- a/tests/stacking.c +++ b/tests/stacking.c @@ -48,8 +48,8 @@ int main () { x, y, w/2, h/2, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, 0); - XSetWindowBackground(display,parent,WhitePixel(display,0)); - XSetWindowBackground(display,child1,BlackPixel(display,0)); + XSetWindowBackground(display,parent,WhitePixel(display,0)); + XSetWindowBackground(display,child1,BlackPixel(display,0)); XSetWindowBackground(display,child2,WhitePixel(display,0)); hints = XAllocWMHints(); @@ -63,7 +63,7 @@ int main () { XSetTransientForHint(display, child1, RootWindow(display, DefaultScreen(display))); XSetTransientForHint(display, child2, parent); - + XMapWindow(display, parent); XFlush(display); sleep(3); diff --git a/tests/strut.c b/tests/strut.c index a0068ae4..15a48607 100644 --- a/tests/strut.c +++ b/tests/strut.c @@ -43,7 +43,7 @@ int main () { 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); diff --git a/tests/title.c b/tests/title.c index 13a1e9ab..799bdf54 100644 --- a/tests/title.c +++ b/tests/title.c @@ -52,7 +52,7 @@ int main (int argc, char **argv) { x, y, w, h, 10, CopyFromParent, CopyFromParent, CopyFromParent, 0, NULL); - XSetWindowBackground(display,win,WhitePixel(display,0)); + XSetWindowBackground(display,win,WhitePixel(display,0)); // XStringListToTextProperty(&argv[1], 1, &name); // XSetWMName(display, win, &name); diff --git a/tests/urgent.c b/tests/urgent.c index 92eb5e53..c29e3005 100644 --- a/tests/urgent.c +++ b/tests/urgent.c @@ -44,7 +44,7 @@ int main () { 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); diff --git a/tests/usertimewin.c b/tests/usertimewin.c index 05c3fc3b..7ef934f2 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); |
