http://bugs.winehq.org/show_bug.cgi?id=14067
markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|WONTFIX |
--- Comment #3 from markk@clara.co.uk 2008-07-04 18:10:43 --- Is there a standard way for an application to tell the window manager to refresh/redraw its windows automatically when restored or revealed? (That is, the window manager would keep a copy of the whole window bitmap in memory, and restore its contents from that buffer when restoring it. The application code would not be involved in refreshing at all.)
If there *is* a standard way to do that, it would be great if such an option could be added to Wine.
If there *isn't* a standard way to request that behaviour...
Like any other application, Wine is responsible for redrawing/refreshing its window (the virtual desktop window) when it is restored or revealed. Currently, am I correct in thinking that Wine does that by asking the running Windows programs to redraw/refresh their windows?
My suggestion would be to have an option for Wine to remember the window state, so - as far as the running Windows programs are concerned - nothing happens when the user minimises & restores the virtual desktop window. (No refresh messages sent to them etc.)
This is important when the Windows program thinks it is the only window on the desktop, and does not repaint itself. A specific example is the installer for the Microsoft game "Age of Mythology". While the installation is running, the installer only updates a progress gauge, leaving the rest of its window untouched. So if you e.g. drag another X application window over the Wine virtual desktop, then minimise it to reveal the virtual desktop, the installer does not repaint its window, leaving "trash" on the screen.