From 6a28507dbc5dbd90c2cdd97e56982ceeefc30af2 Mon Sep 17 00:00:00 2001 From: Liang Chang Date: Sat, 7 Aug 2021 14:31:04 +0800 Subject: [PATCH] dtwm: Regenerate frame when decoration updated. --- cde/programs/dtwm/WmWinConf.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cde/programs/dtwm/WmWinConf.c b/cde/programs/dtwm/WmWinConf.c index c3dd6aa81..397a7c785 100644 --- a/cde/programs/dtwm/WmWinConf.c +++ b/cde/programs/dtwm/WmWinConf.c @@ -1934,6 +1934,12 @@ void ProcessNewConfiguration (ClientData *pCD, int x, int y, unsigned int width, newMax = True; } + if (pCD->decorUpdated) + { + changedValues = CWWidth | CWHeight; + pCD->decorUpdated = False; + } + /* * If the configuration has changed, update client data *