focus window on manual placement

SVN revision: 16854
This commit is contained in:
sebastid 2005-09-22 20:40:11 +00:00 committed by sebastid
parent d0cb4b111a
commit f5ddf29d5e
1 changed files with 4 additions and 2 deletions

View File

@ -4232,8 +4232,8 @@ _e_border_eval(E_Border *bd)
bd->client.icccm.urgent = is_urgent;
/* If this is a new window, set the state as requested. */
if ((bd->new_client
&& (bd->client.icccm.initial_state == ECORE_X_WINDOW_STATE_HINT_ICONIC)))
if ((bd->new_client) &&
(bd->client.icccm.initial_state == ECORE_X_WINDOW_STATE_HINT_ICONIC))
e_border_iconify(bd);
}
bd->client.icccm.fetch.hints = 0;
@ -5245,6 +5245,8 @@ _e_border_eval(E_Border *bd)
grabbed = 1;
e_object_ref(E_OBJECT(bd->cur_mouse_action));
bd->cur_mouse_action->func.go(E_OBJECT(bd), NULL);
e_border_raise(bd);
e_border_focus_set(bd, 1, 1);
}
}
}