Commit graph

4 commits

Author SHA1 Message Date
Ivailo Monev
2ccfe10531 kcontrol: format and indent componentchooser KCM source and header files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-10 14:26:38 +02:00
Ivailo Monev
2168e10dbc kcontrol: essentially window manager chooser rewrite
two things were not done properly before:
 - current window manager was not replaced if the window manager that
   would replace does not have --replace command (or alternative)
 - waiting for the window manager to become active

now that that is done, any window manager can be started right away and
more .desktop files may be added in the future

also, something that occurred to me while writing the code for it - KWin
replaces the window manager on the current screen only and it is
possible to code the window manager chooser to start the replacing window
manager on any screen (assuming it has --screen argument or something
like that)
2022-12-09 10:21:27 +02:00
Ivailo Monev
7430fe2a78 kcontrol: window manager chooser fixes
the window manager process was not detached thus killed once systemsettings
is closed, the revert to previous option was reverting to kwin instead of
the previous window manager

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-26 19:58:12 +02:00
Ivailo Monev
8b8cf26e2c merge kcontrol files from kde-runtime 2014-11-15 03:14:34 +02:00