Ivailo Monev
4b7ecbde0a
kwin: call KApplication::saveSession() before saving session
...
see the warning in the KApplication::saveSession() implementation why that
is done
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-10 06:27:16 +03:00
Ivailo Monev
fb686dc3c1
plasma: implement session manager
...
comes along with plenty of other changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-09 08:33:28 +03:00
Ivailo Monev
3e5dfaa22b
ksmserver: drop it and move session initialization to plasma-desktop
...
everything except the actual session management, second time ksmserver
starts crashing as I work on something for no reason and is time for it
to be done anew as there were quite some unsafe bits in it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-07 02:33:19 +03:00
Ivailo Monev
a5a07d46ca
generic: drop bogus multihead support
...
note that it is independant of X11 multiscreen, as the comment in
KWin::Workspace::isOnCurrentHead() claims
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-01 16:41:30 +03:00
Ivailo Monev
d02e8c10af
generic: log backtrace when applications that are automatically restarted crash
...
previously the KCrash::AutoRestart flag was overriding all other flags -
that is no longer the case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-07 21:32:05 +03:00
Ivailo Monev
b9d801db49
generic: adjust to kBacktrace() function changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 08:25:12 +03:00
Ivailo Monev
39644edba3
kwin: repalce abort() calls with kFatal()
...
kFatal() also aborts but logs a message (if configured to do so)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 21:30:15 +03:00
Ivailo Monev
c6d63798cf
generic: adjust to KApplication changes
...
KApplication::quitOnSignal() is now called from KApplication constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-23 15:13:14 +02:00
Ivailo Monev
ec6d40c9ba
kwin: disable auto-restart when the selection is claimed
...
one if the things that were not be done by the previous crash handler
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-09 09:51:26 +02:00
Ivailo Monev
36ec6aac95
kwin: replace custom crash handler with the auto-restart feature of KCrash
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-07 02:58:39 +02:00
Ivailo Monev
594e39a043
generic: adjust to KCrash and klauncher interface changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-04 22:44:00 +02:00
Ivailo Monev
740c532dbb
kwin: release selection after all components are deleted
...
effects for example may have their own selection (the startupfeedback
effect used to claim _KDE_STARTUP_FEEDBACK for example) so if other
window manager wants to claim selection/atom owned by KWin effect effects
have to be deinitialized before disowning the window manager selection
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-15 07:20:38 +02:00
Ivailo Monev
14d80d413b
kwin: make use of KGlobalSettings::isMultiHead()
...
the code in KGlobalSettings::isMultiHead() is exactly the same
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-14 23:53:53 +02:00
Ivailo Monev
2935698c0c
kwin: add new KWin::Compositor::starting() method and use it in during startup
...
I have a feeling even that will not be enough
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-13 21:37:58 +02:00
Ivailo Monev
40f67005d8
kwin: process events before resuming ksmserver startup
...
the 4sec delay removed in 4560049c4a
was
essentially fence for the setup, with that gone plasma (or any application
automatically started) initial checks for compositor (or anything window
manager related) could fail
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-12 21:18:48 +02:00
Ivailo Monev
6e0697280d
kwin: check if the Workspace pointer is null in Application::notify()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-05 20:48:18 +02:00
Ivailo Monev
9fe5007e67
kwin: do not queue the ownership events
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-05 10:55:33 +02:00
Ivailo Monev
b8e52a1255
kwin: fix runtime warning related to D-Bus connection
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-05 08:45:04 +02:00
Ivailo Monev
f00a3e808d
kwin: resume ksmserver startup if setup fails
...
note that application instance is required before D-Bus connection is made
but connection is made by creating ksmserver interface before the
application instance
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-05 08:43:11 +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
4a3e652e5a
kwin: check owner window before releasing selection
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 17:09:08 +02:00
Ivailo Monev
09872830cb
kwin: release the selection from the application destructor
...
note that lostSelection() slot calls KAapplication::quit()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 04:13:23 +02:00
Ivailo Monev
881a427576
generic: rework startup to no create a shell script
...
by the time ksplash gets the X11 events for startup phases the startup
process is (and should be) done, especially after the display
configuration is done and the monitor is ready to output thus ksplash
does not really indicate much
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 11:29:28 +02:00
Ivailo Monev
c6716caccf
kwin: use KApplication::quitOnSignal() to setup signal handler for quit
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-01 07:06:39 +02:00
Ivailo Monev
5a3513956c
kwin: remove X11 types hack
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-02 00:55:47 +03:00
Ivailo Monev
e1c102d439
generic: remove checks for system headers that should be present
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-23 16:21:57 +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
b4cbd8cb00
generic: deprecation warnings fixes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-12 00:29:29 +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
952244d637
generic: get rid of kdefakes
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2017-08-02 13:37:23 +00:00
Ivailo Monev
78ee666dd2
generic: get rid of some OpenGL/OpenGLES requirements
2016-09-01 04:09:09 +00:00
Ivailo Monev
782c7257a1
kwin: remove deprecated and dead code
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-14 09:08:42 +00:00
Ivailo Monev
840c8a25cc
generic: make changes required for building against katie
2015-08-12 13:11:16 +03:00
Ivailo Monev
0afe71f7e7
kwin: drop support for alternative name
2015-07-10 08:03:47 +03:00
Ivailo Monev
3ef94d4d1a
generic: stop using kdeinit for main applications
2015-05-09 16:39:54 +00:00
Ivailo Monev
c433e4502a
generic: adjust for use with CMake moc
2015-02-27 09:28:46 +00:00
Ivailo Monev
36c66a0aee
kwin scripting leftovers cleanup
2014-12-09 19:04:52 +00:00
Ivailo Monev
a7fd791926
initial import
2014-11-13 19:30:51 +02:00