diff -pru blackbox-0.65.0alpha4/configure blackbox-cvs/configure
--- blackbox-0.65.0alpha4/configure     Fri May  3 10:10:01 2002
+++ blackbox-cvs/configure      Wed May 15 00:13:02 2002
@@ -707,7 +707,7 @@ fi

 PACKAGE=blackbox

-VERSION=0.65.0alpha3
+VERSION=0.65.0alpha4

 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" 
there first" 1>&2; exit 1; }
diff -pru blackbox-0.65.0alpha4/configure.in blackbox-cvs/configure.in
--- blackbox-0.65.0alpha4/configure.in  Fri May  3 10:10:01 2002
+++ blackbox-cvs/configure.in   Wed May 15 00:12:19 2002
@@ -1,7 +1,7 @@
 dnl configure.in for Blackbox - an X11 Window manager
 dnl Initialize autoconf and automake
 AC_INIT(src/blackbox.cc)
-AM_INIT_AUTOMAKE(blackbox,0.65.0alpha3,no-define)
+AM_INIT_AUTOMAKE(blackbox,0.65.0alpha4,no-define)

 dnl Determine default prefix
 test x$prefix = "xNONE" && prefix="$ac_default_prefix"
diff -pru blackbox-0.65.0alpha4/util/bsetroot.cc blackbox-cvs/util/bsetroot.cc
--- blackbox-0.65.0alpha4/util/bsetroot.cc      Mon May 13 14:07:56 2002
+++ blackbox-cvs/util/bsetroot.cc       Wed May 15 00:01:00 2002
@@ -139,12 +139,11 @@ void bsetroot::setPixmapProperty(int scr
   int format;
   unsigned long length, after;
   unsigned char *data;
-  int mode = PropModeAppend;
   const ScreenInfo *screen_info = getScreenInfo(screen);

   if (rootpmap_id == None) {
     rootpmap_id = XInternAtom(getXDisplay(), "_XROOTPMAP_ID", True);
-    esetroot_id = XInternAtom(getXDisplay(), "_ESETROOT_PMAP_ID", True);
+    esetroot_id = XInternAtom(getXDisplay(), "ESETROOT_PMAP_ID", True);
   }

   XGrabServer(getXDisplay());
@@ -162,16 +161,15 @@ void bsetroot::setPixmapProperty(int scr
     if (data && data_esetroot && *((Pixmap *) data)) {
       XKillClient(getXDisplay(), *((Pixmap *) data));
       XSync(getXDisplay(), False);
-      mode = PropModeReplace;
     }
   }

   if (pixmap) {
     XChangeProperty(getXDisplay(), screen_info->getRootWindow(),
-                   rootpmap_id, XA_PIXMAP, 32, mode,
+                   rootpmap_id, XA_PIXMAP, 32, PropModeReplace,
                    (unsigned char *) &pixmap, 1);
     XChangeProperty(getXDisplay(), screen_info->getRootWindow(),
-                   esetroot_id, XA_PIXMAP, 32, mode,
+                   esetroot_id, XA_PIXMAP, 32, PropModeReplace,
                    (unsigned char *) &pixmap, 1);
   } else {
     XDeleteProperty(getXDisplay(), screen_info->getRootWindow(),



there's your patch.  see sean's alpha4 announce thread.

* Will Macdonald ([EMAIL PROTECTED]) wrote:
> Hi,
> 
> I have just upgraded to blackbox alpha 4 however, when I run blackbox -v 
> it still says I am running version 3:
> 
> [will@delhi will]$ blackbox -v
> Blackbox 0.65.0alpha3 : (c) 2001 - 2002 Sean 'Shaleh' Perry
>                          1997 - 2000, 2002 Brad Hughes
> 
>   -display <string>             use display connection.
>   -rc <string>                  use alternate resource file.
>   -version                      display version and exit.
>   -help                         display this help text and exit.
> 
> Compile time options:
>   Debugging                     No
>   Shape:                        Yes
>   8bpp Ordered Dithering:       No
> 
> I have installed it twices with the same result. Am I doing something 
> wrong ??
> 
> It 'feels' different to alpha3, a lot snappier menus. Is this my 
> imagination or has version info in blackbox just not been updated ?
> 
> Will

Reply via email to