Commit graph

13 commits

Author SHA1 Message Date
Ivailo Monev
c8926347cd kwin: de-duplcate rules loading/saving bits
for reference:
3d78c01c4b

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-25 11:09:00 +03:00
Ivailo Monev
b70b1aa272 kwin: remove unused activity rule
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 11:08:03 +03:00
Ivailo Monev
8c8246d810 kwin: use the description as ID for rules when none is set
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>
2024-05-19 05:10:52 +03:00
Ivailo Monev
045749b5d5 kwin: implement demand attention rule
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>
2024-05-19 04:07:03 +03:00
Ivailo Monev
957da2bb43 generic: adjust to KRun changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-12 03:22:02 +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
ac19d657ae kwin: ensure there are no duplicate rules
because KStandardDirs::findAllResources() will return local and global
rules thus if there is a global and local rule file with the same name
there would be duplicates, using KStandardDirs::NoDuplicates flag will
not solve that because the rules are merged into the main kwinrulesrc
config

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 11:29:10 +03:00
Ivailo Monev
96a522adbd kwin: merge window rules into global rules config
prior to 93a4a9263b it was done by a
separate program (kwin_update_default_rules)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 10:38:24 +03:00
Ivailo Monev
56a014cc4c kwin: adjust to recent changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2016-10-13 16:44:58 +00:00
Ivailo Monev
0afe71f7e7 kwin: drop support for alternative name 2015-07-10 08:03:47 +03:00
Ivailo Monev
1a547a0d05 generic: remove KDE prefix from header inclusions 2015-05-20 13:39:58 +00:00
Ivailo Monev
adc2ea8512 kwin and plasma tasks applet activities cleanup 2014-12-08 23:19:10 +00:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00