Commit graph

6 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
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
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
1a61092a69 generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-17 18:06:38 +00:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00