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

xdg_toplevel should be accessible via nativeResourceForWindow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.0.0 Alpha
    • 5.14.0
    • QPA: Wayland
    • None
    • Linux/Wayland
    • 26bcfde0aa102205f70f3f4959bfbe9166f93885 (qt/qtwayland/dev)

      On Wayland, when using xdg_shell integration, xdg_toplevel should be accessible via nativeResourceForWindow call - similar to how wl_shell_surface is accessible in wl_shell integration. This allows for custom drag regions for the application window.

      xdg_toplevel = static_cast<struct xdg_toplevel *>(
      native->nativeResourceForWindow("xdg_toplevel", window));

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

            davidedmundson David Edmundson
            testmode Test Mode
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes