XWayland: root size change notify behavior is not consistent
Affected version
Fedora 36 (Rawhide) / GNOME Shell 42.alpha
Bug summary
I did a follow up testing after fixing !731 (merged) and noticed a few issues:
- There is no event when you are trying to change to native resolution from another.
-
XRRScreenChangeNotifyEvent
always has native resolution reported. - It might be a minor one, but on X11 session there is no events reported if you are trying to change to the same resolution.
Steps to reproduce
Run gcc screenSizeChangeEvent.c -o screenSizeChangeEvent -lX11 -lXrandr && ./screenSizeChangeEvent
Relevant logs, screenshots, screencasts etc.
Please see logs from the test above. I've added some comments to them started with ////
.