Revert "apply client resize limit for all possible size values during maximize calcs"

This reverts commit 08acb0c6aa.

fix T1102
This commit is contained in:
Mike Blumenkrantz 2014-03-17 12:49:44 -04:00
parent 9859daee07
commit d8375aaf9d
1 changed files with 1 additions and 3 deletions

View File

@ -1488,6 +1488,7 @@ _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);
@ -1501,9 +1502,6 @@ _e_client_maximize(E_Client *ec, E_Maximize max)
else
h = zh;
e_client_resize_limit(ec, &w, &h);
e_client_resize_limit(ec, &zw, &zh);
if (ecx < zx) // window left not useful coordinates
x1 = zx;
else if (ecx + ecw > zx + zw) // window right not useful coordinates