X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Fsplash.c;h=02844b58c72b94624c1127c9cb619e774003faf3;hp=491ebe80c2f1b355e2f83407750225953087c2ef;hb=5f9c47ca98dd43d8f59b7c27d3fde6edfde4fe21;hpb=50be9bb40dc60130c99ffa568e6677779904ff70 diff --git a/driver/splash.c b/driver/splash.c index 491ebe80..02844b58 100644 --- a/driver/splash.c +++ b/driver/splash.c @@ -126,6 +126,7 @@ struct splash_dialog_data { Pixel foreground; Pixel background; + Pixel border; Pixel button_foreground; Pixel button_background; Pixel shadow_top; @@ -241,6 +242,9 @@ make_splash_dialog (saver_info *si) sp->background = get_pixel_resource (si->dpy, cmap, "splash.background", "Dialog.Background"); + sp->border = get_pixel_resource (si->dpy, cmap, + "splash.borderColor", + "Dialog.borderColor"); if (sp->foreground == sp->background) { @@ -420,6 +424,8 @@ make_splash_dialog (saver_info *si) DefaultVisualOfScreen(ssi->screen), attrmask, &attrs); XSetWindowBackground (si->dpy, si->splash_dialog, sp->background); + XSetWindowBorder (si->dpy, si->splash_dialog, sp->border); + sp->logo_pixmap = xscreensaver_logo (ssi->screen, /* same visual as si->splash_dialog */