#include <subcompositor.h>
The SubSurfaceInterface corresponds to the Wayland interface wl_subsurface. 
Definition at line 54 of file subcompositor.h.
◆ Mode
This enum type is used to specify the commit behavior for a subsurface. 
| Enumerator | 
|---|
| Synchronized |  | 
| Desynchronized |  | 
Definition at line 71 of file subcompositor.h.
 
 
◆ ~SubSurfaceInterface()
  
  | 
        
          | KWin::SubSurfaceInterface::~SubSurfaceInterface | ( |  | ) |  |  | override | 
 
 
◆ isSynchronized()
      
        
          | bool KWin::SubSurfaceInterface::isSynchronized | ( |  | ) | const | 
      
 
Returns true if the sub-surface is in synchronized mode; otherwise returns false.
This method checks whether this sub-surface or any of its ancestors is in the synchronized mode. Note that this function is not equivalent to calling mode() and checking whether the return value is Mode::Synchronized.
- See also
- mode 
Definition at line 228 of file subcompositor.cpp.
 
 
◆ mainSurface()
Returns the main surface for the sub-surface tree, that is the first surface without a parent 
Definition at line 245 of file subcompositor.cpp.
 
 
◆ mode()
◆ modeChanged
This signal is emitted when the commit mode of the sub-surface has changed. 
 
 
◆ parentSurface()
◆ position()
      
        
          | QPoint KWin::SubSurfaceInterface::position | ( |  | ) | const | 
      
 
Returns the position of the sub-surface relative to the upper-left corner of its parent. 
Definition at line 208 of file subcompositor.cpp.
 
 
◆ positionChanged
  
  | 
        
          | void KWin::SubSurfaceInterface::positionChanged | ( | const QPoint & | position | ) |  |  | signal | 
 
This signal is emitted when the position of the sub-surface has changed. 
 
 
◆ role()
◆ surface()
◆ SubCompositorInterfacePrivate
◆ SubSurfaceInterfacePrivate
◆ SurfaceInterfacePrivate
The documentation for this class was generated from the following files: