Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to update QApplication::desktop size after xrandr ?
oncaphillis last edited by
I'm currently trying to make a X11 desktop manager (login screen) xrandr aware. The Application holds an QApplication: and draws into a rectangle defined by QApplication::desktop::size which starts up as being 1650x1025.
When I apply an "xrandr -l left" (rotate) to the X server the orientation of the desktop widget does not change automatically. How do I force a recalculation of the desktop size ?
MuldeR last edited by
Connect to these signals, so you can react to desktop size changes: