Tgif isn't handling .Xresources/.Xdefaults properly - it ignores them.
In .Xdefaults and .Xresources (yes I "xrdb -merge .Xresources") I have:
In /usr/X11R6/lib/X11/app-defaults/Tgif there is:
To try and debug the problem, I have added some debugging output to tgif,
the following code (in the initialisation of tgif) outputs sensible values,
c_ptr=XGetDefault(mainDisplay, "Tgif", "BorderColor");
However "xrdb -query|grep -i tgif" produces:
A "strings libX11.so.6|grep XGetDefault" does indeed show that the function
Does this look like a tgif problem or an xwindows problem? I don't know
whether XGetDefault is supposed to return the values in app-defaults
overridden by those in "xrdb", I'll try and look at work tomorrow.
The author (Bill Cheung <firstname.lastname@example.org>) has this to say:
> I don't know if this is related to the fact that tgif is based on Xlib
> and not Xtoolkit. Whenever I made changes to my X resource file, I
> always restart xrdb and that seems to work.
On a (possibly related) note, fvwm2's "Identify" function says that tgif's
class is "NoClass". Bill sent me this patch for it, but it doesn't seem to
make any difference.
+ classhints.res_name = "Tgif";
+ classhints.res_class = "Tgif";
+ XSetWMProperties(mainDisplay, mainWindow, NULL, NULL, NULL, 0,
+ NULL, NULL, &classhints);
Thanks in advance
email: email@example.com | Debian Linux - www.debian.org
http://www.poboxes.com/adrian.bridgett | Because bloated, unstable
PGP key available on public key servers | operating systems are from MS
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .