KWin
|
Public Member Functions | |
KWinWrapper (QObject *parent) | |
~KWinWrapper () | |
void | run () |
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.
KWinWrapper::KWinWrapper | ( | QObject * | parent | ) |
Definition at line 57 of file kwin_wrapper.cpp.
KWinWrapper::~KWinWrapper | ( | ) |
Definition at line 82 of file kwin_wrapper.cpp.
void KWinWrapper::run | ( | ) |
Definition at line 94 of file kwin_wrapper.cpp.