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

xdg_toplevel should be accessible via nativeResourceForWindow

    XMLWordPrintable

Details

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

    Description

      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));

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes