34 this, &XdgShellIntegration::registerXdgToplevel);
36 this, &XdgShellIntegration::registerXdgPopup);
56 this, [
this, toplevel] {
57 createXdgToplevelWindow(toplevel);
60 createXdgToplevelWindow(toplevel);
63void XdgShellIntegration::createXdgToplevelWindow(XdgToplevelInterface *toplevel)
66 qCWarning(KWIN_CORE,
"An xdg-toplevel surface has been created while the compositor "
67 "is still not fully initialized. That is a compositor bug!");
74void XdgShellIntegration::registerXdgPopup(XdgPopupInterface *popup)
77 qCWarning(KWIN_CORE,
"An xdg-popup surface has been created while the compositor is "
78 "still not fully initialized. That is a compositor bug!");
87#include "moc_xdgshellintegration.cpp"
void windowCreated(Window *window)
void setPingTimeout(std::chrono::milliseconds pingTimeout)
std::chrono::milliseconds pingTimeout() const
XdgShellIntegration(QObject *parent=nullptr)
void setPingTimeoutInterval(std::chrono::milliseconds pingTimeout)
void toplevelCreated(XdgToplevelInterface *toplevel)
void popupCreated(XdgPopupInterface *popup)
std::chrono::milliseconds pingTimeoutInterval() const
WaylandServer * waylandServer()