aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/dway/config.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-06-04 15:04:56 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-06-04 15:04:56 -0700
commitc85ebc8fe50be0ba7e87d21302337b5263052741 (patch)
treea08b6f9498018870bdff326a7b5986fda36af9d5 /sys/cmd/dway/config.h
parent60e3cfcb5304171cb5f4f8732730d30084c730e2 (diff)
fix: issue with freeing clients
Diffstat (limited to 'sys/cmd/dway/config.h')
-rw-r--r--sys/cmd/dway/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cmd/dway/config.h b/sys/cmd/dway/config.h
index 5ac665a..cd27147 100644
--- a/sys/cmd/dway/config.h
+++ b/sys/cmd/dway/config.h
@@ -2,6 +2,7 @@
static const int sloppyfocus = 1; /* focus follows mouse */
static const uint borderwidth = 1; /* width window borders (pixel) */
+static const uint gapwidth = 4; /* width of gaps(pixel) */
static const float rootcolor[] = {0.3, 0.3, 0.3, 1.0};
static const float bordercolor[] = {0.5, 0.5, 0.5, 1.0};
@@ -24,7 +25,7 @@ static const MonitorRule monitorrules[] = {
/* example of a HiDPI laptop monitor:
{ "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
*/
- { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
+ { nil, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
};
/* keyboard */