]> Dogcows Code - chaz/openbox/blobdiff - plugins/resistance.c
turn off all elements, would miss them randomly if titlebar was disabled before
[chaz/openbox] / plugins / resistance.c
index 64dfe0e70a8ad73d3a74c25ad4a06acfa25bc751..24e291a049b8d70becaef1581670f2d5da0763d2 100644 (file)
@@ -5,6 +5,10 @@
 #include "../kernel/screen.h"
 #include <glib.h>
 
+void plugin_setup_config()
+{
+}
+
 static int resistance = 10;
 static gboolean window_resistance = TRUE; /* window-to-window */
 
@@ -50,7 +54,6 @@ static void resist(Client *c, int *x, int *y)
                window edge available, without going all the way from
                bottom-to-top in the stacking list
             */
-            g_print("r %d tl %d\n", r, tl);
             if (!snapx && cl >= tr && l < tr && l >= tr - resistance)
                 *x = tr, snapx = TRUE;
             else if (!snapx && cr <= tl && r > tl && r <= tl + resistance)
This page took 0.021121 seconds and 4 git commands to generate.