forked from enlightenment/enlightenment
parent
4f7185d6d5
commit
27c5e97d3b
|
@ -1,3 +1,7 @@
|
||||||
|
2012-12-27 Mike Blumenkrantz
|
||||||
|
|
||||||
|
* Fix border(less) style of internal elm tooltip windows
|
||||||
|
|
||||||
2012-12-28 Tomas Cech
|
2012-12-28 Tomas Cech
|
||||||
|
|
||||||
* Fix construction of variant list for setxkbmap
|
* Fix construction of variant list for setxkbmap
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -35,3 +35,4 @@ Fixes:
|
||||||
icons
|
icons
|
||||||
* Fixed error in Evry when trying to call edje functions on non-edje object
|
* Fixed error in Evry when trying to call edje functions on non-edje object
|
||||||
* Fix construction of variant list for setxkbmap
|
* Fix construction of variant list for setxkbmap
|
||||||
|
* Fix border(less) style of internal elm tooltip windows
|
||||||
|
|
|
@ -67,6 +67,7 @@ _elm_win_trap_show(void *data, Evas_Object *o)
|
||||||
E_Container *con = e_util_container_window_find(xwin);
|
E_Container *con = e_util_container_window_find(xwin);
|
||||||
Evas *e = evas_object_evas_get(o);
|
Evas *e = evas_object_evas_get(o);
|
||||||
Ecore_Evas *ee = ecore_evas_ecore_evas_get(e);
|
Ecore_Evas *ee = ecore_evas_ecore_evas_get(e);
|
||||||
|
Ecore_X_Window_Type type;
|
||||||
|
|
||||||
if (!con)
|
if (!con)
|
||||||
{
|
{
|
||||||
|
@ -80,6 +81,14 @@ _elm_win_trap_show(void *data, Evas_Object *o)
|
||||||
ctx->xwin = xwin;
|
ctx->xwin = xwin;
|
||||||
ctx->border = e_border_new(con, xwin, 0, 1);
|
ctx->border = e_border_new(con, xwin, 0, 1);
|
||||||
EINA_SAFETY_ON_NULL_RETURN_VAL(ctx->border, EINA_TRUE);
|
EINA_SAFETY_ON_NULL_RETURN_VAL(ctx->border, EINA_TRUE);
|
||||||
|
if (ecore_x_netwm_window_type_get(xwin, &type))
|
||||||
|
{
|
||||||
|
if (type == ECORE_X_WINDOW_TYPE_TOOLTIP)
|
||||||
|
{
|
||||||
|
eina_stringshare_replace(&ctx->border->bordername, "borderless");
|
||||||
|
ctx->border->client.border.changed = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
ctx->border->placed = ctx->placed;
|
ctx->border->placed = ctx->placed;
|
||||||
ctx->border->internal = 1;
|
ctx->border->internal = 1;
|
||||||
ctx->border->internal_ecore_evas = ee;
|
ctx->border->internal_ecore_evas = ee;
|
||||||
|
|
Loading…
Reference in New Issue