Commit graph

10 commits

Author SHA1 Message Date
Ivailo Monev
dec75243e0 kwin: essentially startupfeedback effect rewrite
caching the QCursor object is crucial for performance, its handle is also
free-ed once there is only one reference for that cursor type and the
object is destroyed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-05 20:17:50 +02:00
Ivailo Monev
3e08bd6134 kwin: stop the startupfeedback effect before updating the internal state
the cursor ungrabbing branch depends on the type (m_type member), if it
changes the cursor will not be ungrabbed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-05 07:30:47 +02:00
Ivailo Monev
72f218342a kwin: remove redundant selection owner in startupfeedback effect
was previously either krunner or the effect

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 14:53:06 +02:00
Ivailo Monev
9c6038450c kwin: set active to false when pointer grab fails in startup feedback effect
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 04:31:58 +02:00
Ivailo Monev
ca6280368c kwin: const-ify iterator values where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-29 07:11:05 +03:00
Ivailo Monev
8e832c580c generic: lower the busy cursor timeout to 10sec
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-26 08:16:41 +03:00
Ivailo Monev
e66878997a generic: support startupfeedback kwin effect again
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-27 21:56:49 +00:00
Ivailo Monev
78ee666dd2 generic: get rid of some OpenGL/OpenGLES requirements 2016-09-01 04:09:09 +00:00
Ivailo Monev
1a547a0d05 generic: remove KDE prefix from header inclusions 2015-05-20 13:39:58 +00:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00