Turn GTK shadows off

Pretty noobish of me :nerd_face:

But for some reason i can’t figure out how to turn off shadows in GTK programs on KDE, Window decorations in settings seems to affect only qt, i remember it wasn’t the case some time ago :thinking:

Any ideas?

Are you using gtk3 or gtk3-classic?

gtk3-classic removes a lot of the gtk client side decorations.

gtk3

https://aur.archlinux.org/packages/gtk3-classic/

:upside_down_face:

1 Like

Thx!
Well, preferably i’d still like to just have a control over usual gtk3 though… :thinking:
Feels like kwin's job

Are the shadows being applied as an effect in kwin or are they part of the CSD?

1 Like

First of all: this is a big misunderstanding. KWin does not have any shadows. KWin does not add shadows to any windows at all. There is no such thing as a generic shadow which KWin would add. Due to that of course KWin cannot add shadows to client side decorated windows.

Instead KWin provides a shadow rendering service

(c) https://blog.martin-graesslin.com/blog/2019/01/kwin-and-shadows-for-client-side-decorated-windows/

Fair enough :confused:

1 Like