winex11.drv: Process RRNotify events in xrandr14_get_id.
We have to invalidate the current mode cache if there are pending RRNotify events. The performance hit on EnumDisplaySettingsExW is around 7%. Also call X11DRV_DisplayDevices_RegisterEventHandlers in x11drv_init. Otherwise, RRNotify events will only be handled in the explorer process.
Showing
- dlls/user32/tests/monitor.c 5 additions, 5 deletionsdlls/user32/tests/monitor.c
- dlls/winex11.drv/event.c 1 addition, 1 deletiondlls/winex11.drv/event.c
- dlls/winex11.drv/window.c 0 additions, 1 deletiondlls/winex11.drv/window.c
- dlls/winex11.drv/x11drv.h 1 addition, 0 deletionsdlls/winex11.drv/x11drv.h
- dlls/winex11.drv/x11drv_main.c 1 addition, 0 deletionsdlls/winex11.drv/x11drv_main.c
- dlls/winex11.drv/xrandr.c 28 additions, 0 deletionsdlls/winex11.drv/xrandr.c
Loading
Please register or sign in to comment