X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fspotlight.c;h=8c76fc74e7faa698e036d0f5f0384f83b3fc03f3;hp=53bf34b0695ae31bfeb93eac82ef3ee5795b4690;hb=c596d1306f5f92f7eab76224d3b049980a14adcb;hpb=5832fe184606766fef23369159306c0a5799aeb0 diff --git a/hacks/spotlight.c b/hacks/spotlight.c index 53bf34b0..8c76fc74 100644 --- a/hacks/spotlight.c +++ b/hacks/spotlight.c @@ -117,6 +117,7 @@ init_hack (Display *dpy, Window window) /* create buffer to reduce flicker */ buffer = XCreatePixmap(dpy, window, sizex, sizey, xgwa.depth); buffer_gc = XCreateGC(dpy, buffer, gcflags, &gcv); + XFillRectangle(dpy, buffer, buffer_gc, 0, 0, sizex, sizey); /* blank out screen */ XFillRectangle(dpy, window, window_gc, 0, 0, sizex, sizey);