> > When I run gkrellm (2.2.4) in a floating dock in ion3 (svn) it > > doesn't get fully displayed. For a split-second I see the whole > > gkrellm and then the top and bottom are cut off. Dock is placed at > > middle right. Any ideas? Note that if I run multiple instances of > > gkrellm the dock does get extended, but each gkrellm still displayed > > incorrectly. > > When I wrote the original dock layout code I remember having a similar > problem with gkrellm. The order of events was: > > 1. gkrellm asks for a certain size > 2. dock uses X11 shape extension to get gkrellm's shape > 3. gkrellm/X11 returns correct size & shape > 4. dock grants size & shape > 5. gkrellm asks for larger size when plugins are loaded
Tried without any gkrellm plugins loaded, no difference. > 6. dock uses X11 shape extension to get gkrellm's shape > 7. gkrellm/X11 returns old, incorrect size & shape > 8. dock grants old, incorrect size & shape > > The result was a clipped gkrellm window. > > I think I got around the problem by not using the shape extension (i.e > putting a borer around gkrellm's window). tried 'each', 'all' and 'none' for border settings in dock-draw.lua , to no effect. > > I'm still using ion2 and the old dock so I don't know how ion3 is > affected. Works fine for me in ion2, seems to be ion3-specific. Had a look at dock.c but I'm not really sure what's going on (not being much of a programmer). Mike > > -- > Tom
