From 09d4e6077e92468812ff905e8668821b9cb160f0 Mon Sep 17 00:00:00 2001 From: Hue Date: Wed, 11 Mar 2026 15:48:20 +0100 Subject: [PATCH 1/7] =?UTF-8?q?panel=20/=20dock=20/=20autohide-window?= =?UTF-8?q?=C2=A0:=20unified=20width=20and=20height=20config=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unify the options for setting minimum dimensions between panel and dock by handling it in autohide-window. Now cofigured with (section)/minimal_width and (section)/minimal_height. This deprecates the dock/dock_height config option. --- metadata/dock.xml | 8 ++++++-- metadata/panel.xml | 10 ++++++++-- src/dock/dock.cpp | 7 +++++-- src/panel/panel.cpp | 3 --- src/util/wf-autohide-window.cpp | 33 ++++++++++++++++++++------------- src/util/wf-autohide-window.hpp | 9 +++++++-- 6 files changed, 46 insertions(+), 24 deletions(-) diff --git a/metadata/dock.xml b/metadata/dock.xml index 7343d75f..226bfe2f 100644 --- a/metadata/dock.xml +++ b/metadata/dock.xml @@ -32,8 +32,12 @@ <_long>If greater than 0, the dock will have a maximum number of entries per line, after which a new line is created. 0 - + + + + + + - + + + - + - + + +