Fixes appmenu private usage
Description
Description
Comment Actions
kwayland-integration to get a seat for a window:
auto seat = waylandWindow ? waylandWindow->display()->defaultInputDevice()->wl_seat() : nullptr;
I guess that would be also available via nativeResource* or a future NativeInterface.
Also fetch the he serial
return waylandWindow->display()->lastInputSerial();
plasma-workspace/appmenu:
const auto device = waylandWindow->display()->currentInputDevice(); waylandWindow->display()->setLastInputDevice(device, device->pointer()->mEnterSerial, waylandWindow);
to force Qt into creating a XdgPopup
Comment Actions
Native resources used:
wl_display
wl_seat
wl_surface
layer-shell qt
wl_output from a QScreen
Comment Actions
I remember also once wanting to access xdg_surface which you can do in Qt6 but what I can't remember in which context