Skip to content
Commit 2b12ceb1 authored by Mikhail Zolotukhin's avatar Mikhail Zolotukhin
Browse files

Synchronize decorations buttons order in GTK headerbars

Summary:
Window decorations button order was applied only for window headers that was controlled by KWin, but not for GTK applications with CSD.  Now it is no longer true - button order in CSD applications are in sync with the one used by KWin.

Only Close, Maximize, Minimize and Icon buttons are synchronized, because GTK supports only them.

Depends on D25695

Test Plan:
# Open two windows alongside each other: window decorations button order settings and any gtk3 app with CSD (for example, Lutris)
# Restart kded5
# Apply any WD button order, apply settings
# The app should change its buttons order in headerbar (if xsettingsd is not installed, on X11 only after restart)
{F7794441}

Reviewers: #vdg, cblack, #plasma, apol

Reviewed By: apol

Subscribers: apol, GB_2, broulik, plasma-devel

Tags: #plasma

Maniphest Tasks: T10611

Differential Revision: https://phabricator.kde.org/D25670
parent 99c72b4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment