• Anton Baskanov's avatar
    winex11.drv: Process RRNotify events in xrandr14_get_id. · b3eb5522
    Anton Baskanov authored
    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.
    b3eb5522
window.c 114 KB