forked from enlightenment/enlightenment
focus stack broken in focus new window and click to focus. fix.
SVN revision: 34596
This commit is contained in:
parent
45425e9016
commit
9a417fc4b4
|
@ -1425,14 +1425,17 @@ e_border_focus_set(E_Border *bd, int focus, int set)
|
||||||
{
|
{
|
||||||
if ((bd->visible) && (bd->changes.visible))
|
if ((bd->visible) && (bd->changes.visible))
|
||||||
{
|
{
|
||||||
|
e_border_focus_latest_set(bd);
|
||||||
bd->want_focus = 1;
|
bd->want_focus = 1;
|
||||||
bd->changed = 1;
|
bd->changed = 1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (bd->visible)
|
// if (bd->visible)
|
||||||
{
|
{
|
||||||
if (focus_track_frozen == 0)
|
if (focus_track_frozen == 0)
|
||||||
e_border_focus_latest_set(bd);
|
{
|
||||||
|
e_border_focus_latest_set(bd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// printf("EMIT 0x%x activeve\n", bd->client.win);
|
// printf("EMIT 0x%x activeve\n", bd->client.win);
|
||||||
edje_object_signal_emit(bd->bg_object, "e,state,focused", "e");
|
edje_object_signal_emit(bd->bg_object, "e,state,focused", "e");
|
||||||
|
|
Loading…
Reference in New Issue