summaryrefslogtreecommitdiff
path: root/src/maximize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/maximize.c')
-rw-r--r--src/maximize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maximize.c b/src/maximize.c
index 7d1e5d1..77b40e2 100644
--- a/src/maximize.c
+++ b/src/maximize.c
@@ -69,7 +69,7 @@ _ds_maximize(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNU
69 if (e_comp_config_get()->fast_borders) 69 if (e_comp_config_get()->fast_borders)
70 time /= 2; 70 time /= 2;
71 ecx = ec->x, ecy = ec->y, ecw = ec->w, ech = ec->h; 71 ecx = ec->x, ecy = ec->y, ecw = ec->w, ech = ec->h;
72 e_comp_object_frame_xy_adjust(ec->frame, ec->saved.x, ec->saved.y, &x, &y); 72 e_comp_object_frame_xy_adjust(ec->frame, ec->saved.x + ec->zone->x, ec->saved.y + ec->zone->y, &x, &y);
73 evas_object_geometry_get(ec->frame, NULL, NULL, &w, &h); 73 evas_object_geometry_get(ec->frame, NULL, NULL, &w, &h);
74 if ((!w) || (!h)) return; //new client, don't break the universe 74 if ((!w) || (!h)) return; //new client, don't break the universe
75 ec->maximize_override = 1; 75 ec->maximize_override = 1;