if (!resist) return;
+ frame_client_gravity(c->frame, x, y, c->area.width, c->area.height);
+
w = c->frame->area.width;
h = c->frame->area.height;
if (snapx && snapy) break;
}
+
+ frame_frame_gravity(c->frame, x, y, c->area.width, c->area.height);
}
void resist_move_monitors(ObClient *c, gint resist, gint *x, gint *y)
if (!resist) return;
+ frame_client_gravity(c->frame, x, y, c->area.width, c->area.height);
+
w = c->frame->area.width;
h = c->frame->area.height;
else if (cb <= pb && b > pb && b < pb + resist)
*y = pb - h + 1;
}
+
+ frame_frame_gravity(c->frame, x, y, c->area.width, c->area.height);
}
void resist_size_windows(ObClient *c, gint resist, gint *w, gint *h,
#include <glib.h>
+/*! @x The client's x destination (in the client's coordinates, not the frame's
+ @y The client's y destination (in the client's coordinates, not the frame's
+*/
void resist_move_windows(struct _ObClient *c, gint resist, gint *x, gint *y);
+/*! @x The client's x destination (in the client's coordinates, not the frame's
+ @y The client's y destination (in the client's coordinates, not the frame's
+*/
void resist_move_monitors(struct _ObClient *c, gint resist, gint *x, gint *y);
void resist_size_windows(struct _ObClient *c, gint resist, gint *w, gint *h,
ObCorner corn);