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

Expose wl_surface through QWindow::winId()

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 6.1
    • Fix Version/s: None
    • Component/s: QPA: Wayland
    • Labels:
      None

      Description

      The QWindow::winId() on Wayland is currently just an internal counter. This could be much more useful if it were a pointer to a wl_surface or something like that, and would make it possible to implement functions like fromWinId(), though we should also verify that before committing to anything.

      Note that this may be tricky on Wayland, because you may need more than one pointer (the wl_display is probably required as well). An option is to add a public API to the QtWaylandClient library.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes