verified the state is demanding attention when started via kstart program,
KTaskManager::demandsAttention() does not detect it as demanding attention
tho. on a side note there is a TODO for states in KWin::Client::manager()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
these bits are in 3 places now, have to do something about it but more
importantly the .kwinrules files are now loaded and shown by the KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
because rules created by the configuration interface do not have an ID
and one must be set for duplicates to be filtered correctly, ideally the
whole rule should be checked for equality instead of the ID only (the ID
should not be a thing, it is not used for other purpose really)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
note that this rule is kinda special - if a window is activated the window
will no longer demand attention regardless if set in rule (i.e. it is like
temporary rule but will apply if the initial window state is iconified or
minimized for whatever reason)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
because xon is no longer a thing (not in debian repos apparently) killing
remote clients and killing remote clients required it, assuming
XKillClient() knows how to kill remote clients then it will now. if not
then..
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the only reason I can think of to not give focus to window is when a
okular in presentation mode or gwenview in fullscreen mode is the active
window, i.e. a fullscreen window but that may need additional hint for the
window manager
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>
first thing first - that feature was not in the spec and still is not,
people fucked up at some level and now things like gnome-screensaver are
just deprecated, that is the bottom line
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KSettings::Dispatcher was never used to register anything meaning the
KSettings::Dispatcher::reparseConfiguration() call was not doing anything,
it will now tho
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
m_showConfirmDialog is always false, no idea why
KWinCompositingConfig::showConfirmDialog() was virtual
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
there never was a way to enable it (not via gui anyway) meaning the bits
are doing nothing (other than slow down kwin that is)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>