KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::XdgShellIntegration Class Reference

#include <xdgshellintegration.h>

Inheritance diagram for KWin::XdgShellIntegration:
KWin::WaylandShellIntegration

Public Member Functions

 XdgShellIntegration (QObject *parent=nullptr)
 
std::chrono::milliseconds pingTimeout () const
 
void setPingTimeout (std::chrono::milliseconds pingTimeout)
 
- Public Member Functions inherited from KWin::WaylandShellIntegration
 WaylandShellIntegration (QObject *parent=nullptr)
 

Additional Inherited Members

- Signals inherited from KWin::WaylandShellIntegration
void windowCreated (Window *window)
 

Detailed Description

Definition at line 20 of file xdgshellintegration.h.

Constructor & Destructor Documentation

◆ XdgShellIntegration()

KWin::XdgShellIntegration::XdgShellIntegration ( QObject * parent = nullptr)
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.

Member Function Documentation

◆ pingTimeout()

std::chrono::milliseconds KWin::XdgShellIntegration::pingTimeout ( ) const

Definition at line 39 of file xdgshellintegration.cpp.

◆ setPingTimeout()

void KWin::XdgShellIntegration::setPingTimeout ( std::chrono::milliseconds pingTimeout)

Definition at line 44 of file xdgshellintegration.cpp.


The documentation for this class was generated from the following files: