E_Zone *zone;
Evas_Object *o;
int ee_w, ee_h;
- int x, y, w, h;
+ int x, y, w, h, x1, x2, y1, y2;
int r, g, b, a;
int ui_skip = EINA_FALSE;
int obscured_by_target = EINA_FALSE;
const char *type;
Eina_Bool effect_client;
Evas_Render_Op render_op;
+ E_Map *map;
ecore_evas_geometry_get(e_comp->ee, NULL, NULL, &ee_w, &ee_h);
e_client_geometry_get(ec, &x, &y, &w, &h);
+ if ((ec->is_cursor) && (evas_object_map_enable_get(ec->frame)))
+ {
+ map = e_client_map_get(ec);
+ if (map)
+ {
+ e_map_point_coord_get(map, 0, &x1, &y1, NULL);
+ e_map_point_coord_get(map, 2, &x2, &y2, NULL);
+
+ x = MIN(x1, x2);
+ y = MIN(y1, y2);
+ w = MAX(x1, x2) - x;
+ h = MAX(y1, y2) - y;
+
+ e_map_free(map);
+ }
+ }
+
if ((!effect_client) && (!e_comp_object_color_visible_get(ec->frame)))
{
e_hwc_window_state_set(hwc_window, E_HWC_WINDOW_STATE_NONE, EINA_TRUE);