KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWinWrapper Class Reference
Inheritance diagram for KWinWrapper:

Public Member Functions

 KWinWrapper (QObject *parent)
 
 ~KWinWrapper ()
 
void run ()
 

Detailed Description

This tiny executable creates a socket, then starts kwin passing it the FD to the wayland socket along with the name of the socket to use On any non-zero kwin exit kwin gets restarted.

After restart kwin is relaunched but now with the KWIN_RESTART_COUNT env set to an incrementing counter

It's somewhat akin to systemd socket activation, but we also need the lock file, finding the next free socket and so on, hence our own binary.

Usage kwin_wayland_wrapper [argForKwin] [argForKwin] ...

Definition at line 39 of file kwin_wrapper.cpp.

Constructor & Destructor Documentation

◆ KWinWrapper()

KWinWrapper::KWinWrapper ( QObject * parent)

Definition at line 57 of file kwin_wrapper.cpp.

◆ ~KWinWrapper()

KWinWrapper::~KWinWrapper ( )

Definition at line 82 of file kwin_wrapper.cpp.

Member Function Documentation

◆ run()

void KWinWrapper::run ( )

Definition at line 94 of file kwin_wrapper.cpp.


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