Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.14.0
-
None
-
-
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));