[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#673582: x11-xserver-utils: xsetroot -def doesn't



Hi,

On Sun, May 20, 2012 at 12:56:53AM +0200, Cyril Brulebois wrote:
> Toni Mueller <support@oeko.net> (18/05/2012):
> > I've just upgraded my box from Squeeze to Testing, and find that
> > the screen background is black instead of plaid. According to
> > the man page, 'xsetroot -def' (formerly: 'xsetroot -default')
> > should restore the plaid background.
> 
> The default is a black screen, and has been for a while. So the manpage
> needs fixing, AFAICT.

ok, then please let me rephrase the problem:

I've not seen any way to set the background to 'plaid', and neither
'grey' nor 'mod x y' yield satisfactory results for me.

> > Can you please repair this?
> Thankfully you can help:
>   git clone git://anongit.freedesktop.org/xorg/app/xsetroot

I've looked in there and didn't find the place what could have changed.
The code section in question reads:

    /* Handle restore defaults */
    if (restore_defaults) {
        if (!cursor_file)
            XUndefineCursor(dpy, root);
        if (!excl) {
            XSetWindowBackgroundPixmap(dpy, root, (Pixmap) None);
            XClearWindow(dpy, root);
            unsave_past = 1;
        }
    }

But it does so for every revision in git, back to 2007, when it most
definitely worked. I'd be most content to have another option that
gives me 'plaid' (it doesn't have to be the default), but don't
find it. Can you please give me a hint?


Kind regards,
--Toni++



Reply to: