On Thu, 9 Jul 2020 at 16:12, Gabriel Ivăncescu gabrielopcode@gmail.com wrote:
On 08/07/2020 22:36, Rafał Mużyło wrote:
So, after the previous post, I sat down and once again did some thinking/tinkering.
Obviously, the previous patch couldn't work, at least not in the restoring part.
This one seems to work (for now), though I've only did some very basic testing.
It doesn't seem to be a way to add private data to a window, that would both be only accessible by wine and integrated with standard winapi calls. Correct me, if that's wrong.
While WS_HIDDEN would seem better fitting, AFAICT it removes the window from event queues, so I went with WS_DISABLED. This time through standard functions.
AFAIK, Windows 10 supports multiple desktops / workspaces. Did you try to see what happens in Windows 10 when you switch desktops?
Potentially relevant: https://devblogs.microsoft.com/oldnewthing/20200302-00/?p=103507