w = unit_w * col_span;
h = unit_h * row_span;
- // TODO: We may need to adjust the last size if the unit size is not deviced exactly
+ // TODO: We may need to adjust the last size if the unit size is not devided exactly
ELOGF("TZPOL", "TIZEN_POLICY_SET_LAYOUT... layout(%d,%d) request(%d,%d,%d,%d) -> unit(%d,%d), geo(%d,%d,%dx%d)",
ec, num_cols, num_rows, column, row, col_span, row_span, unit_w, unit_h, x, y, w, h);
+
+ if (ec->manage_resize.shadow)
+ {
+ x -= ec->manage_resize.shadow;
+ y -= ec->manage_resize.shadow;
+ w = w + (ec->manage_resize.shadow * 2);
+ h = h + (ec->manage_resize.shadow * 2);
+ ELOGF("TZPOL", "Shadow is enabled.. Consider Shadow size(%d). new (%d,%d,%dx%d)", ec, ec->manage_resize.shadow, x, y, w, h);
+ }
+
e_client_frame_geometry_set(ec, x, y, w, h);
}