Ivailo Monev
d02f3ac43d
kwin: different take on mouse interception from startupfeedback effect
...
grabbing the pointer does not play well with the kwin mouse interception
feature, notably for the presentwindows effect
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-01 02:21:34 +03:00
Ivailo Monev
7d79ee3af0
kwin: intercept the mouse and interrupt the startupfeedback effect on mouse release
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-27 22:53:28 +03:00
Ivailo Monev
1bbca06982
kwin: copyrighting the startupfeedback effect to me
...
I rewrote the effect two times already, i.e. there is nothing left of the
code
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-11 08:48:25 +02:00
Ivailo Monev
614a644a6b
kwin: reconfigure the startupfeedback effect before connecting to ASN signals
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-05 23:08:54 +02:00
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