Qt 6.11 is out! See what's new in the release
blog
How to update QApplication::desktop size after xrandr ?
General and Desktop
2
Posts
2
Posters
1.0k
Views
1
Watching
-
Hi,
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 ?
Thanks 10^6
O.