Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Display data when OnDesktopListChanged #2

Open
artem-hw9 opened this issue Dec 30, 2022 · 0 comments
Open

Missing Display data when OnDesktopListChanged #2

artem-hw9 opened this issue Dec 30, 2022 · 0 comments

Comments

@artem-hw9
Copy link

artem-hw9 commented Dec 30, 2022

display_1 enabled/connected and mapped to desktop
display_2 enabled/connected and not mapped to desktop

when i extend display_2 to desktop in windows display settings i got OnDesktopListChanged event
but:
OnDesktopListChanged(IADLXDesktopList* pDesktopList)
pDesktopList-> At(i)-> GetDisplays -> At(j) -> NativeResolution return ADL_OK and value: 0, 0
pDesktopList-> At(i)-> GetDisplays -> At(j) -> RefreshRate return ADL_OK and value: NAN
pDesktopList-> At(i)-> GetDisplays -> At(j) -> PixelClock return ADL_OK and value: 0

also when i change RefrashRate for curent display i got old display data in OnDesktopListChanged(IADLXDesktopList* pDesktopList) event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant