KWin
|
#include <xdgshellintegration.h>
Public Member Functions | |
XdgShellIntegration (QObject *parent=nullptr) | |
std::chrono::milliseconds | pingTimeout () const |
void | setPingTimeout (std::chrono::milliseconds pingTimeout) |
![]() | |
WaylandShellIntegration (QObject *parent=nullptr) | |
Additional Inherited Members | |
![]() | |
void | windowCreated (Window *window) |
Definition at line 20 of file xdgshellintegration.h.
|
explicit |
The WaylandXdgShellIntegration class is a factory class for xdg-shell windows.
The xdg-shell protocol defines two surface roles - xdg_toplevel and xdg_popup. On the compositor side, those roles are represented by XdgToplevelWindow and XdgPopupWindow, respectively.
WaylandXdgShellIntegration monitors for new xdg_toplevel and xdg_popup objects. If it detects one, it will create an XdgToplevelWindow or XdgPopupWindow based on the current surface role of the underlying xdg_surface object.
Definition at line 29 of file xdgshellintegration.cpp.
std::chrono::milliseconds KWin::XdgShellIntegration::pingTimeout | ( | ) | const |
Definition at line 39 of file xdgshellintegration.cpp.
void KWin::XdgShellIntegration::setPingTimeout | ( | std::chrono::milliseconds | pingTimeout | ) |
Definition at line 44 of file xdgshellintegration.cpp.