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

Expose xscreen in QScreen class

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.15
    • QPA: X11/XCB
    • Gentoo Linux, KDE Plasma.

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

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes