fix T1390 multimonitor maximize

This commit is contained in:
Mike Blumenkrantz 2014-07-19 15:46:33 -04:00
parent 6f56df33e1
commit f0077aabd2
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ _ds_maximize(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNU
if (e_comp_config_get()->fast_borders) if (e_comp_config_get()->fast_borders)
time /= 2; time /= 2;
ecx = ec->x, ecy = ec->y, ecw = ec->w, ech = ec->h; ecx = ec->x, ecy = ec->y, ecw = ec->w, ech = ec->h;
e_comp_object_frame_xy_adjust(ec->frame, ec->saved.x, ec->saved.y, &x, &y); e_comp_object_frame_xy_adjust(ec->frame, ec->saved.x + ec->zone->x, ec->saved.y + ec->zone->y, &x, &y);
evas_object_geometry_get(ec->frame, NULL, NULL, &w, &h); evas_object_geometry_get(ec->frame, NULL, NULL, &w, &h);
if ((!w) || (!h)) return; //new client, don't break the universe if ((!w) || (!h)) return; //new client, don't break the universe
ec->maximize_override = 1; ec->maximize_override = 1;