Win MS Windows screen resolution resize functionality.
#1
I admit I'm a bit lazy but I would be very grateful if someone could point out where in the source tree you can find the MS Windows screen resolution resize functionality.

The reason why I'm asking is that I want to investigate why Kodi reacts on down-scale but not on up-scale events. This happens for example when Kodi is hooked up to a home theater system when you switch source and the port gets inactive and then back again.

Thanks in advance!
Reply
#2
windowing/windows or windowing/win10 for uwp.
Reply
#3
Thumbs Up 
Thanks!  Angel
Reply
#4
The basic logic is there. I can see in the log that an up-scale screen resolution change is noticed but somehow the active window won't resize. Just speculating out loud but a possible cause might be that the active window isn't notified or can't cope with the change. I'l have to setup a debugging env to have a closer look...

// restoring native resolution on "old" display
RestoreDesktopResolution(oldMonitor);

// notify about screen change (it may require recreate rendering device)
m_fRefreshRate = res.fRefreshRate; // use desired refresh for driver hook
OnScreenChange(newMonitor->hMonitor);
Reply

Logout Mark Read Team Forum Stats Members Help
MS Windows screen resolution resize functionality.0