Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104586

Expose xscreen in QScreen class

    XMLWordPrintable

    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:
      Linux/X11
    • 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.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            liaqi Liang Qi
            Reporter:
            allistar Allistar Melville
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes