fix fix for grab dialog focus: null checks are important

ticket #1410


SVN revision: 75754
devs/princeamd/enlightenment-0.17-elive
Mike Blumenkrantz 11 years ago
parent 5acb47cc0c
commit 33f252cc9c
  1. 3
      src/bin/e_grab_dialog.c

@ -107,12 +107,11 @@ e_grab_dialog_show(E_Win *parent, Eina_Bool is_mouse, Ecore_Event_Handler_Cb key
E_Grab_Dialog *eg;
Ecore_Event_Handler *eh;
e_border_focus_set(parent->border, 0, 1);
if (parent)
{
con = parent->container;
man = con->manager;
e_border_focus_set(parent->border, 0, 1);
}
else
{

Loading…
Cancel
Save