de-e_comp_get()-ify grab dialog

Signed-off-by: Chris Michael <cp.michael@samsung.com>
devs/bu5hm4n/econfigure2
Chris Michael 8 years ago
parent c024e4bc17
commit 5ec2c7f7a6
  1. 2
      src/bin/e_grab_dialog.c

@ -130,7 +130,7 @@ e_grab_dialog_show(Evas_Object *parent, Eina_Bool is_mouse, Ecore_Event_Handler_
evas_object_event_callback_add(eg->dia->win, EVAS_CALLBACK_DEL, _e_grab_dialog_delete, eg);
#ifndef HAVE_WAYLAND_ONLY
eg->grab_win = ecore_x_window_input_new(e_comp_get(NULL)->man->root, 0, 0, 1, 1);
eg->grab_win = ecore_x_window_input_new(e_comp->man->root, 0, 0, 1, 1);
ecore_x_window_show(eg->grab_win);
e_grabinput_get(eg->grab_win, 0, eg->grab_win);
#endif

Loading…
Cancel
Save