projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dabcb55
)
rm the edge_resistance option.. just dont load the plugin!
author
Dana Jansens
<danakj@orodu.net>
Fri, 21 Mar 2003 09:32:17 +0000
(09:32 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 21 Mar 2003 09:32:17 +0000
(09:32 +0000)
plugins/resistance.c
patch
|
blob
|
history
diff --git
a/plugins/resistance.c
b/plugins/resistance.c
index e60b683ea5aaf542f68cf00d96296b6547dae982..68106abf2b17eeb2bb67d3cb4ecb015d50501f2a 100644
(file)
--- 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;