simplify client SMART/EXPAND maximize

calling e_client_resize_limit() here was misleading since the values
were never used
This commit is contained in:
Mike Blumenkrantz 2015-10-30 15:03:29 -04:00
parent e311bc2372
commit ff1ef7281b
1 changed files with 0 additions and 5 deletions

View File

@ -1609,19 +1609,14 @@ _e_client_maximize(E_Client *ec, E_Maximize max)
w = zw, h = zh;
evas_object_smart_callback_call(ec->frame, "maximize", NULL);
e_client_resize_limit(ec, &w, &h);
e_comp_object_frame_xy_unadjust(ec->frame, ec->x, ec->y, &ecx, &ecy);
e_comp_object_frame_wh_unadjust(ec->frame, ec->w, ec->h, &ecw, &ech);
if (ecw < zw)
w = ecw;
else
w = zw;
if (ech < zh)
h = ech;
else
h = zh;
if (ecx < zx) // window left not useful coordinates
x1 = zx;