#include "../kernel/screen.h"
#include <glib.h>
+void plugin_setup_config()
+{
+}
+
static int resistance = 10;
static gboolean window_resistance = TRUE; /* window-to-window */
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)