summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-04-01 07:55:00 +0200
committerbakkeby <[email protected]>2020-04-01 13:55:07 +0200
commitd9337195f3800fa422b27b0398c2542e635eca8d (patch)
treeeae09c2ac855fd78bf76a99cf66a65d345864e50
parent692affcff7593f718db827edf70a2b130725a1f3 (diff)
downloaddwm-flexipatch-d9337195f3800fa422b27b0398c2542e635eca8d.tar.gz
dwm-flexipatch-d9337195f3800fa422b27b0398c2542e635eca8d.zip
Rounded corners patch, add 0 borderpx by default
-rw-r--r--config.def.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 7d74da5..683df6f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,7 +1,12 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
+#if ROUNDED_CORNERS_PATCH
+static const unsigned int borderpx = 0; /* border pixel of windows */
+static const int corner_radius = 10;
+#else
static const unsigned int borderpx = 1; /* border pixel of windows */
+#endif // ROUNDED_CORNERS_PATCH
static const unsigned int snap = 32; /* snap pixel */
#if VANITYGAPS_PATCH
static const unsigned int gappih = 20; /* horiz inner gap between windows */
@@ -36,9 +41,6 @@ static const int showsystray = 1; /* 0 means no systray */
#if ONLYQUITONEMPTY_PATCH
static const int quit_empty_window_count = 2; /* only allow dwm to quit if no windows are open, value here represents number of deamons */
#endif // ONLYQUITONEMPTY_PATCH
-#if ROUNDED_CORNERS_PATCH
-static const int corner_radius = 10;
-#endif // ROUNDED_CORNERS_PATCH
#if EXTRABAR_PATCH
static const char statussep = ';'; /* separator between status bars */
#endif // EXTRABAR_PATCH