Re: WINEX11.DRV: workaround for unstable window state while handling MapNotify (fixes bug 12196)

2008-04-02 Thread Alexandre Julliard
Alex Villací­s Lasso <[EMAIL PROTECTED]> writes:

> Is this patch incorrect? Nobody has commented on it, and it has not been 
> applied either.

The concept is OK, but the implementation needs more work since
PropertyNotify is also triggered while waiting for the withdrawn state,
and you don't want to send messages to the window at that point. I'm
looking into it.

-- 
Alexandre Julliard
[EMAIL PROTECTED]




Re: WINEX11.DRV: workaround for unstable window state while handling MapNotify (fixes bug 12196)

2008-04-01 Thread Alex Villací­s Lasso
Alex Villací­s Lasso escribió:
>
> The attached patch seems to fix this issue for me. It issues 
> X11DRV_MapNotify
> when it detects that the window is still marked as iconic on a 
> transition from
> IconicState to NormalState. Please comment on this.
>
> See bug #12196 for full discussion.
>
> Changelog:
> * Workaround for unstable window state when handling MapNotify at 
> window restore after minimize.  Issue extra X11DRV_MapNotify call when 
> PropertyNotify detects still-iconic window on 
>  IconicState->NormalState transition.
>
Is this patch incorrect? Nobody has commented on it, and it has not been 
applied either.

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'