Skip to content
Commit b0423c32 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik Committed by Victoria Fischer
Browse files

window: Create palette only when needed



Creating a `DecorationPalete` (e.g. the `KColorScheme` inside) is
relatively expensive. Currently, this is done once a client is mapped,
regardless of whether it actually has a server-side decoration.

This change makes it create the palette only when it is actually used,
e.g. the window indeed has a server-side decoration or when the user
actions menu is invoked.

Signed-off-by: default avatarVictoria Fischer <victoria.fischer@mbition.io>
parent 8ca6170c
Pipeline #221120 failed with stage
in 15 minutes and 31 seconds
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