Hi Richard,
On Sun 24 Dec 2006 at 21:23:43 +0100, Richard Levitte - VMS Whacker wrote:
> And before your changes, it showed a series of nice square buttons
> with the letters and digits in them (and oh, yeah, I really use all 32
> workspaces). Now, it looks like the attached PNG, which is not quite
> what I asked for.
>
> I can't really see that any of your changes should have affected the
> looks of the workspace manager this way, maybe you have a faster clue
> than I have?
My first thought is that it should be one of the fields that I moved
from struct WorkSpaceWindow to struct WorkSpaceMgr:
/* The fields below have been moved from WorkSpaceWindow */
ColorPair curColors;
Image *curImage;
unsigned long curBorderColor;
Bool curPaint;
ColorPair defColors;
Image *defImage;
unsigned long defBorderColor;
int hspace, vspace;
these correspond to these settings:
> WMgrHorizButtonIndent 0
> WMgrVertButtonIndent 0
char *name;
char *icon_name;
They are definitely related to the rendering of the workspace window.
Maybe I got a bit overzealous with changing references, or I forgot some
- there are fields with the same names in different places (at least
hspace and vspace). I take it that the letters and digits are supposed
to be in the middle of the buttons? Other than that it looks fairly
button-like. (or maybe I ought to try it first with an old version so I
can see the differences)
Tricky, since so far I haven't even noticed where the text is actually
rendered :-)
I'll have a look at it in the coming days.
I have, btw, found the cause of the incorrect opaque moving of windows
in captive ctwms. It is due to confusion over the meaning of RealRoot
(which I can quite understand since it is complictated, I should
probably put some picture explanation somewhere of the situation as I
understand it), and that now with virtual screeens the outlines are
drawn from a different window (the root) rather than the parent of the
window (the virtual screen), *and* the dragging of opaque windows still
happens relative to their parent (= virtual screen) but using the other
coordinates. I'll try to sort that out too.
> Richard
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.