KWin's control over GTk3+ client-side decorations
Kai Uwe Broulik
kde at privat.broulik.de
Mon May 25 13:26:34 BST 2026
Hi,
that’s done by kde-gtk-config, see [1] and [2].
Cheers
Kai Uwe
[1]
https://invent.kde.org/plasma/kde-gtk-config/-/blob/master/kded/gtkconfig.cpp?ref_type=heads#L255
[2]
https://invent.kde.org/plasma/kde-gtk-config/-/blob/master/kded/configvalueprovider.cpp?ref_type=heads#L246
Am 25.05.26 um 12:59 schrieb René J.V. Bertin:
> David Edmundson wrote:
>
>> https://invent.kde.org/plasma/breeze-gtk/-/blob/master/src/gtk3/widgets/_window_decorations.scss?ref_type=heads
>
> Thanks, but I think there's a misunderstanding here somewhere.
>
> Correct me if I'm wrong, but I think that that is only the theming of the buttons, not where on the titlebar they're shown - and used only if you configure GTk applications to use the Breeze theme.
>
> I don't.
>
> I use the Oxygen window decorations with KWin (but QtCurve for my application style), and a non-KDE GTK3+ theme. Yet I notice that the button layout in GTk CSD applications follows the layout I define in the kwindecorations KCM. Dynamically even, at least in Firefox I can see the buttons jump to their new locations when I apply changes to this setting.
More information about the Plasma-devel
mailing list