Application minimizing resizes it to icon size.

Meelis Mägi nimetu at gmail.com
Thu Aug 23 13:02:09 CDT 2007


2007/8/23, Stefan Dösinger <stefandoesinger at gmx.at>:
> Am Donnerstag, 23. August 2007 18:56 schrieb Meelis Mägi:
> > Hello, i have a silly question.
> >
> > Why does application resized to icon size when it gets minimized ?
> > (also when switching desktops, but thats acts as minimizing i think)
> >
> > Reason i ask is that, there is MMO Ryzom (ryzom.com), that gets a bit
> > confused when minimized and ingame UI gets messed up (only game i know
> > that has this problem)
> >
> > If i comment out SetWindowPos() line in X11DRV_UnmapNotify() function
> > (file dlls/winex11.drv/winpos.c), then ingame ui stays ok.
>
> Does that happen in a virtual desktop, or without it?
>
commands i used to run Ryzom:
1)wine client_ryzom_rd.exe
2)wine explorer.exe /desktop=ryzom,1280x1024 client_ryzom_rd.exe
(minimizing Ryzom window inside wine desktop)

Ryzom hates to be resized to icon mode in both occasions. it detects
the size change and relocates ingame UI accordingly.  window in
bottom-left is moved to top-right, bottom-right to top-left etc. its
completely Ryzom's problem that it behaves like that.

i was just curious why does wine resize application window to icon
size when application is minimized (and it's not just in one place,
all over the code ;-)

thanks.



More information about the wine-devel mailing list