Re: window delete, hide, and present on Win32



On Tue, Sep 27, 2005 at 05:25:49PM +0300, Tor Lillqvist wrote:
> David Necas (Yeti) writes:
>  > When the first method is used, it reappears on its previous
>  > position.
> 
>  > When the second method is used, it always appears in the
>  > upper left corner.
> 
> FWIW, I get exactly the same behaviour on X11, too, so this doesn't
> appear to be a Win32-specific problem.

Which windowmanager have you tried? I tried more now --
fvwm, windowmaker, icewm, kwin, and metacity -- and no one
restores the window position.

However, metacity takes GDK_WINDOW_TYPE_HINT_UTILITY as
`place always to the upper left corner, no matter what',
thus exhibiting the second behaviour.  But this is not about
metacity, so let's make metacity behave like the others by
replacing GDK_WINDOW_TYPE_HINT_UTILITY with GDK_WINDOW_TYPE_HINT_NORMAL.

This has still no effect on Win32.

The crucial difference is that whatever I try on X11 and
whatever kind of silly placement behaviour I get, it is
always the same for both hiding methods (for a particular
window manager).  On Win32 they are different and I don't
know why.

Yeti


--
That's enough.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]