]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Move min/max view width/height to header
authorAxel Burri <axel@tty0.ch>
Sat, 5 Aug 2023 21:53:01 +0000 (23:53 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 19 Oct 2023 18:09:42 +0000 (19:09 +0100)
Preparatory for snap to window edge framework.

include/view.h
src/view.c

index 028b665f00c522497d853684b36b0d4007ded411..6058e520d9a765fab00121b82f055f9bab10fd8f 100644 (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.
index f6a20e2461cbdbd1a9783f17a1207d128767e4a1..e7d7a9e7bb195d042ab975f377ec45afb185b548 100644 (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