all repos — openbox @ 23ee7b9a934d5aef2835b684edb9192fa11feb06

openbox fork - make it a bit more like ryudo

rm the edge_resistance option.. just dont load the plugin!
Dana Jansens danakj@orodu.net
commit

23ee7b9a934d5aef2835b684edb9192fa11feb06

parent

dabcb558cd10295f9382607936ead64d8b210b99

1 files changed, 0 insertions(+), 3 deletions(-)

jump to
M plugins/resistance.cplugins/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;