From 5176ac4f645d3c51976a71b75c95091d0cc48031 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sat, 5 Aug 2023 23:53:01 +0200 Subject: [PATCH] Move min/max view width/height to header Preparatory for snap to window edge framework. --- include/view.h | 3 +++ src/view.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/view.h b/include/view.h index 028b665f..6058e520 100644 --- a/include/view.h +++ b/include/view.h @@ -8,6 +8,9 @@ #include #include +#define LAB_MIN_VIEW_WIDTH 100 +#define LAB_MIN_VIEW_HEIGHT 60 + /* * In labwc, a view is a container for surfaces which can be moved around by * the user. In practice this means XDG toplevel and XWayland windows. diff --git a/src/view.c b/src/view.c index f6a20e24..e7d7a9e7 100644 --- a/src/view.c +++ b/src/view.c @@ -19,8 +19,6 @@ #include #endif -#define LAB_MIN_VIEW_WIDTH 100 -#define LAB_MIN_VIEW_HEIGHT 60 #define LAB_FALLBACK_WIDTH 640 #define LAB_FALLBACK_HEIGHT 480