Hi,

I can't see the problem. In the file dock.c, inside wDockRestoreState, we can find some code starting with

WMRect rect;
int flags;

This code is like the code inside the function wClipRestoreState,
starting with the same code.

I tried to move the dup code to a new function, but the dock is always at x=0, y=0 after the change.

The problem is with the lines:

if (flags & (XFLAG_DEAD...
  wScreenKeepInside(scr...

in one function we have
  wScreenKeepInside(scr, &btn->xpos

but in the other function previously is an assignment to temporal variable "x":

  int x = &btn->xpos
  wScreenKeepInside(scr, &x

I can't see the problem :-(

Cheers,
kix

PS. If somebody wants, send the patch directly.


--
To unsubscribe, send mail to [email protected].

Reply via email to