rm the edge_resistance option.. just dont load the plugin!
Dana Jansens danakj@orodu.net
1 files changed,
0 insertions(+),
3 deletions(-)
jump to
M
plugins/resistance.c
→
plugins/resistance.c
@@ -6,7 +6,6 @@ #include "../kernel/screen.h"
#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)@@ -18,8 +17,6 @@ int al, at, ar, ab; /* screen area edges */
int cl, ct, cr, cb; /* current edges */ int w, h; /* current size */ gboolean snapx = FALSE, snapy = FALSE; - - if (!edge_resistance) return; w = c->frame->area.width; h = c->frame->area.height;