this fixes a longstanding race condition where tooltip windowss could exist with a shape rectangle due to race conditions between applying window properties (eg. alpha) and reapplying the input rect
evas_object_show(sd->pointer.obj);
}
evas_object_show(obj);
+#ifdef ELEMENTARY_X
+ if (sd->type == ELM_WIN_TOOLTIP)
+ ecore_x_window_shape_input_rectangle_set(sd->x.xwin, 0, 0, 0, 0);
+#endif
}
EOLIAN static void
case ELM_WIN_TOOLTIP:
ecore_x_netwm_window_type_set(sd->x.xwin, ECORE_X_WINDOW_TYPE_TOOLTIP);
+ ecore_x_window_shape_input_rectangle_set(sd->x.xwin, 0, 0, 0, 0);
break;
case ELM_WIN_NOTIFICATION:
evas_object_hide(tt->tt_win);
elm_win_alpha_set(tt->tt_win, EINA_FALSE);
}
-#ifdef HAVE_ELEMENTARY_X
- Ecore_X_Window win;
- win = elm_win_xwindow_get(tt->tt_win);
- if (win)
- ecore_x_window_shape_input_rectangle_set(win, 0, 0, 0, 0);
-#endif
}
str = edje_object_data_get(tt->tooltip, "pad_x");