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

Expose wl_surface through QWindow::winId()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.1
    • QPA: Wayland
    • 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

              esabraha Eskil Abrahamsen Blomfeldt
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes