forked from enlightenment/enlightenment
match client dialogs to client's layer
a small annoyance for literally over a decade has been that window dialogs would sometimes start behind their owners. now they don't.
This commit is contained in:
parent
57ade8c5ae
commit
276706ab9d
|
@ -67,6 +67,7 @@ e_int_client_locks(E_Client *ec)
|
||||||
"E", "_border_locks_dialog",
|
"E", "_border_locks_dialog",
|
||||||
NULL, 0, v, ec);
|
NULL, 0, v, ec);
|
||||||
ec->border_locks_dialog = cfd;
|
ec->border_locks_dialog = cfd;
|
||||||
|
evas_object_layer_set(e_win_client_get(cfd->dia->win)->frame, ec->layer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,7 @@ e_int_client_prop(E_Client *ec)
|
||||||
elm_win_center(dia->win, 1, 1);
|
elm_win_center(dia->win, 1, 1);
|
||||||
e_dialog_show(dia);
|
e_dialog_show(dia);
|
||||||
e_dialog_border_icon_set(dia, "preferences-system-windows");
|
e_dialog_border_icon_set(dia, "preferences-system-windows");
|
||||||
|
evas_object_layer_set(e_win_client_get(dia->win)->frame, ec->layer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -111,6 +111,7 @@ e_int_client_remember(E_Client *ec)
|
||||||
"E", "_border_remember_dialog",
|
"E", "_border_remember_dialog",
|
||||||
NULL, 0, v, ec);
|
NULL, 0, v, ec);
|
||||||
ec->border_remember_dialog = cfd;
|
ec->border_remember_dialog = cfd;
|
||||||
|
evas_object_layer_set(e_win_client_get(cfd->dia->win)->frame, ec->layer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@ e_int_config_borders_border(E_Comp *comp EINA_UNUSED, const char *params)
|
||||||
"E", "_config_border_border_style_dialog",
|
"E", "_config_border_border_style_dialog",
|
||||||
"preferences-system-windows", 0, v, ec);
|
"preferences-system-windows", 0, v, ec);
|
||||||
ec->border_border_dialog = cfd;
|
ec->border_border_dialog = cfd;
|
||||||
|
evas_object_layer_set(e_win_client_get(cfd->dia->win)->frame, ec->layer);
|
||||||
return cfd;
|
return cfd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -867,6 +867,7 @@ _shot_now(E_Zone *zone, E_Client *ec, const char *params)
|
||||||
e_win_client_icon_set(win, "screenshot");
|
e_win_client_icon_set(win, "screenshot");
|
||||||
|
|
||||||
if (!e_widget_focus_get(o_bg)) e_widget_focus_set(o_box, 1);
|
if (!e_widget_focus_get(o_bg)) e_widget_focus_set(o_box, 1);
|
||||||
|
evas_object_layer_set(e_win_client_get(win)->frame, ec->layer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue