summaryrefslogtreecommitdiff
path: root/plugins/resistance.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-21 09:32:17 +0000
committerDana Jansens <danakj@orodu.net>2003-03-21 09:32:17 +0000
commit23ee7b9a934d5aef2835b684edb9192fa11feb06 (patch)
tree3212173727b94cfcecca33f1c6ec9ce1153e079e /plugins/resistance.c
parentdabcb558cd10295f9382607936ead64d8b210b99 (diff)
rm the edge_resistance option.. just dont load the plugin!
Diffstat (limited to 'plugins/resistance.c')
-rw-r--r--plugins/resistance.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/resistance.c b/plugins/resistance.c
index e60b683e..68106abf 100644
--- a/plugins/resistance.c
+++ b/plugins/resistance.c
@@ -6,7 +6,6 @@
#include <glib.h>
static int resistance = 10;
-static gboolean edge_resistance = TRUE; /* window-to-edge */
static gboolean window_resistance = TRUE; /* window-to-window */
static void resist(Client *c, int *x, int *y)
@@ -19,8 +18,6 @@ static void resist(Client *c, int *x, int *y)
int w, h; /* current size */
gboolean snapx = FALSE, snapy = FALSE;
- if (!edge_resistance) return;
-
w = c->frame->area.width;
h = c->frame->area.height;