Two questions regarding KWinEffect API

Matin Lotfaliei <[email protected]> Sat, 23 Oct 2021 12:21:39 -0700
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <CAOmECLrzyT-Vh7CiQGhAznoEeEJLsw9Tamc-8jabv2p_ZV9+ow@mail.gmail.com>
--000000000000298e7705cf0a0ab1
Content-Type: text/plain; charset="UTF-8"

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.
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.

--
*Matin Lotfaliei*
IT Technician & Developer at MistyWest
MSc Student at Department of Computer Science University of Victoria
Pronouns: he, him, his
(604) 785-8161 <+16047858161>  |  Linkedin
<https://www.linkedin.com/in/matinlotfali/>  |  GitHub
<https://github.com/matinlotfali>

--000000000000298e7705cf0a0ab1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi KWin team.<div><br></div><div>I am developing a KWin ef=
fect and I have two questions:</div><div>1. How can I paint the shadow of t=
he window only? I am trying to make some changes in the decoration and I wi=
shed there was a separation=C2=A0between painting=C2=A0the shadow and paint=
ing the window.</div><div>2. How can I apply my effect before the Wobbly ef=
fect gets applied? It looks like the order of effects that are rendering ma=
tters in my development.<br clear=3D"all"><div><div dir=3D"ltr" class=3D"gm=
ail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><di=
v dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=
=3D"ltr"><div dir=3D"ltr"><div><font face=3D"arial, sans-serif" color=3D"#0=
00000"><br></font></div><div><font face=3D"arial, sans-serif" color=3D"#000=
000">--</font></div><div><font size=3D"4" face=3D"arial, sans-serif" color=
=3D"#0b5394"><b>Matin Lotfaliei</b></font></div><div><div><span style=3D"fo=
nt-family:arial,sans-serif">IT Technician &amp; Developer at MistyWest</spa=
n><font face=3D"arial, sans-serif"><br>MSc Student at Department of Compute=
r Science=C2=A0</font><span style=3D"font-family:arial,sans-serif">Universi=
ty of Victoria</span></div><div><font face=3D"arial, sans-serif">Pronouns: =
he, him, his<br></font></div></div><div><font face=3D"arial, sans-serif"><a=
 href=3D"tel:+16047858161" target=3D"_blank">(604) 785-8161</a>=C2=A0 |=C2=
=A0 <a href=3D"https://www.linkedin.com/in/matinlotfali/" target=3D"_blank"=
>Linkedin</a>=C2=A0 |=C2=A0 <a href=3D"https://github.com/matinlotfali" tar=
get=3D"_blank">GitHub</a><br></font><br></div></div></div></div></div></div=
></div></div></div></div></div></div></div>

--000000000000298e7705cf0a0ab1--