Move min/max view width/height to header

Preparatory for snap to window edge framework.
This commit is contained in:
Axel Burri 2023-08-05 23:53:01 +02:00 committed by Johan Malm
parent 0fd26c63fa
commit 5176ac4f64
2 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,9 @@
#include <wayland-util.h>
#include <wlr/util/box.h>
#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.

View file

@ -19,8 +19,6 @@
#include <wlr/xwayland.h>
#endif
#define LAB_MIN_VIEW_WIDTH 100
#define LAB_MIN_VIEW_HEIGHT 60
#define LAB_FALLBACK_WIDTH 640
#define LAB_FALLBACK_HEIGHT 480