From: <enl...@li...> - 2005-09-22 20:40:24
|
Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_border.c Log Message: focus window on manual placement =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v retrieving revision 1.405 retrieving revision 1.406 diff -u -3 -r1.405 -r1.406 --- e_border.c 22 Sep 2005 17:10:02 -0000 1.405 +++ e_border.c 22 Sep 2005 20:40:11 -0000 1.406 @@ -4232,8 +4232,8 @@ 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 @@ 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); } } } |