clamp client calc geometry to zone when maximizing

devs/discomfitor/eo
Mike Blumenkrantz 9 years ago
parent 7bc59d01fe
commit 5f731a8a63
  1. 4
      src/bin/e_maximize.c

@ -176,8 +176,8 @@ _e_maximize_client_rects_fill(E_Client *ec, Eina_List *rects, int *x1, int *yy1,
{
int bx, by, bw, bh;
bx = ec->x;
by = ec->y;
bx = E_CLAMP(ec->x, ec->zone->x, ec->zone->x + ec->zone->w);
bx = E_CLAMP(ec->y, ec->zone->y, ec->zone->y + ec->zone->h);
bw = ec->w;
bh = ec->h;

Loading…
Cancel
Save