cvsimport

* refs/heads/master:
  Allow the 'empty' group clients to be window-{h,v}tile'd.
  Map ('5') and allow mod5mask (altgr) as a modifier.
  add, then use, xvasprintf, checking for appropriate return.
  Ensure the pointer stays within client bounds after a window 'snap' (to edge).
This commit is contained in:
okan
2020-02-07 18:53:41 +00:00
8 changed files with 26 additions and 28 deletions

View File

@@ -971,10 +971,7 @@ client_htile(struct client_ctx *cc)
struct geom area;
int i, n, mh, x, w, h;
if (!cc->gc)
return;
i = n = 0;
area = screen_area(sc,
cc->geom.x + cc->geom.w / 2,
cc->geom.y + cc->geom.h / 2, CWM_GAP);
@@ -1042,10 +1039,7 @@ client_vtile(struct client_ctx *cc)
struct geom area;
int i, n, mw, y, w, h;
if (!cc->gc)
return;
i = n = 0;
area = screen_area(sc,
cc->geom.x + cc->geom.w / 2,
cc->geom.y + cc->geom.h / 2, CWM_GAP);