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

xdg_toplevel should be accessible via nativeResourceForWindow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Platform/s:
      Linux/Wayland

      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

            Assignee:
            johanhelsing Johan Helsing
            Reporter:
            testmode Test Mode
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes