Re: Two questions regarding KWinEffect API

David Edmundson <[email protected]> Sat, 23 Oct 2021 21:39:26 +0000
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <CAGeFrHCZMg5LhN_D+XvCiZ-Ypdx8Tx_nv4DnG-QEPgYSbHpbKQ@mail.gmail.com>
On Sat, Oct 23, 2021 at 7:38 PM Matin Lotfaliei <[email protected]> wrote:
>
> Hi KWin team.
>
> I am developing a KWin effect and I have two questions:
> 1. How can I paint the shadow of the window only? I am trying to make some changes in the decoration and I wished there was a separation between painting the shadow and painting the window.

Can you elaborate more on the end goal?

> 2. How can I apply my effect before the Wobbly effect gets applied? It looks like the order of effects that are rendering matters in my development.

See requestedEffectChainPosition

David