[PATCH] winex11.drv: Let the Window Manager handle the off-screen window if it's managed.

Gabriel Ivăncescu gabrielopcode at gmail.com
Fri Nov 13 07:38:49 CST 2020


What do you think about a registry setting to control the behavior of 
unmapping offscreen windows? Since this is a WM quirk, it's suitable for 
that. I can't find a solution otherwise; the app handles WM_MOUSEMOVE 
and does its own logic to the cursor depending on what it *thinks* the 
window position is at that time (I believe it uses a timer).

Since the coordinates are relative to the window, when the window is 
moved by the WM to fit on screen, the cursor will be way off, so Winamp 
thinks the mouse moved too much and it will move it offscreen really 
quickly.

Anyway, not unmapping it when offscreen fixes it, but since it's working 
around a quirk, it should be a non-default registry setting.

Does that sound like a good idea or a waste of time?

Thanks,
Gabriel



More information about the wine-devel mailing list