Commit graph

14 commits

Author SHA1 Message Date
Ivailo Monev
264cb151f9 ksmserver: log backtrace in case of crash
if it crashes a startup error will be shown via `xmessage`, there will
be not window manager (most likely) at that point and many things will
not work as expected.

ksmserver cannot be restarted for example, drkonqi is not option either
because attempting to report a bug will open a browser but the backtrace
cannot be copied (the browser window will be on top of any other window
if it launches with no way to switch to the drkonqi window), etc.

in other words - the best thing that can be done is log the backtrace to
the system log (the ksmserver debug area has to be configured for that)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-09 12:30:31 +02:00
Ivailo Monev
e9335d77fc ksmserver: setup quit signals via KApplication::quitOnSignal()
note that for SIGHUP sighandler() was calling signal()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-07 08:46:37 +02:00
Ivailo Monev
795cb31a59 generic: remove redundant HAVE_XRENDER configuration definition
if Xrender is not found a fatal message will be issued by the top-level
CMakeLists file because it is required by KWin compositor for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-25 00:46:00 +02:00
Ivailo Monev
36d3e65630 ksmserver: drop custom logout effect
the effect is very much bound to the window manager (KWin) because if
applications require attention (such as confirmation to cancel any
pending changes) their window or any dialog they pop may have to be
raised, will have to be focused and not be grayed out

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-16 01:37:02 +02:00
Ivailo Monev
10032daa02 generic: adjust to KSelectionOwner changes
had to rewrite KSelectionOwner to fix the issues with it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-05 08:31:02 +02:00
Ivailo Monev
cb5f63cc72 generic: disable session manager via SESSION_MANAGER environment variable unset too
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-26 06:40:25 +03:00
Ivailo Monev
fcbc69b222 generic: reimplement screen saver interface via xscreensaver
my monitor is not the latest stock but it has its own screen saver
feature

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-13 01:27:15 +03:00
Ivailo Monev
4abe1ff384 generic: remove unused and fix some configuration checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-01 18:44:39 +03:00
Ivailo Monev
0bc73060d7 generic: remove some redundant environment variable queries
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-22 12:00:29 +02:00
Ivailo Monev
b4e5cd519d generic: adjust to KApplication changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-05 02:34:45 +00:00
Ivailo Monev
cfd7fc7c57 ksmserver: unify COMPILE_SCREEN_LOCKER checks
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-09-17 22:36:42 +00:00
Ivailo Monev
840c8a25cc generic: make changes required for building against katie 2015-08-12 13:11:16 +03:00
Ivailo Monev
3ef94d4d1a generic: stop using kdeinit for main applications 2015-05-09 16:39:54 +00:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00