RFC: New KWin effect for notifications
Martin Graesslin
mgraesslin at kde.org
Fri Nov 27 07:00:32 UTC 2015
On Thursday, November 26, 2015 7:17:54 PM CET Marco Martin wrote:
> in brief the problem is:
> * there is a window at a given position, like 10,10
> * we want to move it to like 10, 20
> * the movement has to "look" animated.
>
> now, if i understood correctly, actual animation of the window position
> should be avoided, so would need after the window position is changed, for
> kwin to keep rendering it at the old position and then animate it still
> translated to the actual final position?
>
> what would kwin need to do to do this third point in the best/smootest way
> possible? (note this would be utterly useful for plasma tooltips as well)
It's not really difficult. We need an effect which gets hinted that on
position change there should be a transition. For that probably one new X
property/Wayland protocol is needed which gets evaluated when the window
moves.
Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151127/524f8e3a/attachment.sig>
More information about the Plasma-devel
mailing list