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.
thanks
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?
2007/8/23, Stefan Dösinger stefandoesinger@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.
Am Donnerstag, 23. August 2007 20:02 schrieb Meelis Mägi:
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.
Ok, in that case I have no idea about the problem. There was a change recently to catch focus losses away from wine correctly, but that patch caused unintuitive behavior in virtual desktops. When the virtual desktop looses the focus now, apps see that they lost the focus and react to it. Especially for games this is strange. I do not know if I should consider that behavior a bug though. It is correct to report the focus loss, since the focus is indeed lost, but apps minimizing in the VD isn't optimal either.
But I do not think that this is related to your problem.