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

Expose wl_surface through QWindow::winId()

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • 6.9.0 FF
    • 6.1
    • QPA: Wayland
    • None

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes