summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorSimone Vellei <henomis@gmail.com>2013-08-11 16:27:22 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2013-08-11 16:27:22 +0200
commitd20afb197384ca8fdd3b9873a74fb856f0a8abf7 (patch)
tree11df24e5c3cb9e71aac8b3f19d78d892bb4a3632 /config.h
parent864bc76d811e3aabd7be135af57b9a9c38f22a9d (diff)
downloadmcwm-d20afb197384ca8fdd3b9873a74fb856f0a8abf7.zip
Support for window snapping to screen border and other windows. Turn
on with -s snap-margin. Contributed by Simone Vellei <henomis@gmail.com>. Committed with small changes.
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 0bfb3c3..0129989 100644
--- a/config.h
+++ b/config.h
@@ -61,6 +61,9 @@
/* Default width of border window, in pixels. Used unless -b width. */
#define BORDERWIDTH 1
+/* Default snap margin in pixels. Used unless -s width. */
+#define SNAPMARGIN 0
+
/*
* Keysym codes for window operations. Look in X11/keysymdefs.h for
* actual symbols. Use XK_VoidSymbol to disable a function.