Clean up, unify and accurately calculate edge distance with client move/resize

actions, so as to not lose windows off the edge.

inspired by diffs (and feedback) from Vadim Vygonets.
This commit is contained in:
okan
2017-05-01 12:54:55 +00:00
parent 4d85e2e2a6
commit 3d6ff6dabf
4 changed files with 44 additions and 62 deletions

View File

@@ -399,6 +399,7 @@ void client_msg(struct client_ctx *, Atom, Time);
void client_move(struct client_ctx *);
int client_inbound(struct client_ctx *, int, int);
struct client_ctx *client_init(Window, struct screen_ctx *, int);
void client_ptr_inbound(struct client_ctx *, int);
void client_ptrsave(struct client_ctx *);
void client_ptrwarp(struct client_ctx *);
void client_raise(struct client_ctx *);