Details
-
Type:
Suggestion
-
Status: Reported
-
Priority:
P3: Somewhat important
-
Resolution: Unresolved
-
Affects Version/s: 5.15
-
Fix Version/s: None
-
Component/s: QPA: X11/XCB
-
Labels:
-
Environment:
Gentoo Linux, KDE Plasma.
-
Platform/s:
-
Story Points:1
Description
The QScreen class exposes manufacturer, serialNumber etc but it doesn't expose the xscreen that the QScreen is on (e.g. ":0.0" vs ":0.1"). In my use case I would like KDE Plasma to be able to filter QScreens that don't belong to the current DISPLAY environment variable.
This enhancement is to add a "getDisplay" or "getXScreen" method to QScreen which returns either an integer, or the display descriptor for the DISPLAY for the QScreen.