On Friday 03 May 2002 04:44, Sean 'Shaleh' Perry wrote:
> On 03-May-2002 Duret Bertrand wrote:
> > Hello,
> >
> > ...
>
> nice work. We have a guinea pig for the blackbox library when it is ready
> (-:
Thank you very much. Yes, I am looking forward the BlackBox library ;-)
>
> As for the dock app problem, I know what the problem is just not the
> solution.
I noticed two points (may be, you already know?):
- if wmhints.icon_window is set to None, that works perfectly.
- if Blakbox is restarted, all dock apps are back to the slit.
I think it is the case when icon_window == client_window that causes the
problem. I join a little patch (for blackbox-0.65.0alpha2) that seems to
correct the problem, but I am not sure of the consequences.
--- blackbox-0.65.0alpha2/src/Slit.cc Mon Apr 1 00:42:22 2002
+++ blackbox-0.65.0alpha2_diff/src/Slit.cc Fri May 3 10:42:30 2002
@@ -104,7 +104,8 @@
if (wmhints) {
if ((wmhints->flags & IconWindowHint) &&
- (wmhints->icon_window != None)) {
+ (wmhints->icon_window != None) &&
+ (wmhints->icon_window != client->client_window)) {
XMoveWindow(display, client->client_window, screen->getWidth() + 10,
screen->getHeight() + 10);
XMapWindow(display, client->client_window);