29 Sep
2022
29 Sep
'22
9:17 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/winex11.drv/display.c:
handler->register_event_handlers(); }
-void X11DRV_DisplayDevices_Update(void) -{ - X11DRV_DisplayDevices_Init(TRUE); - - X11DRV_resize_desktop();
This might break clipping. Note that in X11DRV_resize_desktop(), ungrab_clipping_window() is called. In ungrab_clipping_window(), XUngrabPointer() is called when clipping_cursor is FALSE. Also notice that in grab_clipping_window() clipping is rejected in the desktop process. So clipping_cursor in the desktop process will always be FALSE and clipping will not be released as before. You need to keep the clipping logic the same as the old one. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/944#note_9736