diff options
author | Carsten Haitzler <raster@rasterman.com> | 2011-06-13 14:40:45 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2011-06-13 14:40:45 +0000 |
commit | 96f1de4a89da367bac1c69057ebd4f0d16b0fa9c (patch) | |
tree | 4ae3be5a4756ff2173a9995c07183238dbe1081a /src/modules/backlight | |
parent | b1b9428f720d4fc812ee6e2c17627deaf218ffb1 (diff) | |
download | enlightenment-96f1de4a89da367bac1c69057ebd4f0d16b0fa9c.tar.gz |
dont grab mouse. just kbd!
SVN revision: 60271
Diffstat (limited to 'src/modules/backlight')
-rw-r--r-- | src/modules/backlight/e_mod_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/backlight/e_mod_main.c b/src/modules/backlight/e_mod_main.c index 19da31e797..a8e244045c 100644 --- a/src/modules/backlight/e_mod_main.c +++ b/src/modules/backlight/e_mod_main.c @@ -44,7 +44,7 @@ static void _backlight_popup_free(Instance *inst); static void _backlight_input_win_del(Instance *inst) { - e_grabinput_release(inst->input_win, inst->input_win); + e_grabinput_release(0, inst->input_win); ecore_x_window_free(inst->input_win); inst->input_win = 0; ecore_event_handler_del(inst->hand_mouse_down); @@ -135,7 +135,7 @@ _backlight_input_win_new(Instance *inst) Ecore_X_Window w, popup_w; E_Manager *man; - man = e_manager_current_get(); + man = inst->gcc->gadcon->zone->container->manager; w = ecore_x_window_input_new(man->root, 0, 0, man->w, man->h); mask = (ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE | @@ -152,7 +152,7 @@ _backlight_input_win_new(Instance *inst) ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, _backlight_input_win_key_down_cb, inst); inst->input_win = w; - e_grabinput_get(inst->input_win, 0, inst->input_win); + e_grabinput_get(0, 0, inst->input_win); } static void |