Enlightenment CVS committal Author : urandom Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/pager Modified Files: e_mod_main.c Log Message: ecore_x: * in ecore_x_pointer_xy_get, fill x & y with '-1', if the pointer is not in the same screen as the given window * add 'same_screen' and 'root_win' information for the XEvents dealing with keyboard and mouse events e: * make sure e_manager_current_get returns the correct manager for the current screen * fix various modules to use the correct window, when dealing with events =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_main.c,v retrieving revision 1.235 retrieving revision 1.236 diff -u -3 -r1.235 -r1.236 --- e_mod_main.c 14 Jan 2008 15:23:49 -0000 1.235 +++ e_mod_main.c 30 May 2008 22:30:56 -0000 1.236 @@ -2526,7 +2526,7 @@ Pager_Popup *pp = act_popup; ev = event; - if (ev->win != input_window) return 1; + if (ev->event_win != input_window) return 1; evas_event_feed_mouse_down(pp->popup->evas, ev->button, 0, ev->time, NULL); @@ -2540,7 +2540,7 @@ Pager_Popup *pp = act_popup; ev = event; - if (ev->win != input_window) return 1; + if (ev->event_win != input_window) return 1; evas_event_feed_mouse_up(pp->popup->evas, ev->button, 0, ev->time, NULL); @@ -2554,7 +2554,7 @@ Pager_Popup *pp = act_popup; ev = event; - if (ev->win != input_window) return 1; + if (ev->event_win != input_window) return 1; evas_event_feed_mouse_move(pp->popup->evas, ev->x - pp->popup->x + pp->pager->zone->x, @@ -2588,7 +2588,7 @@ Ecore_X_Event_Key_Down *ev; ev = event; - if (ev->win != input_window) return 1; + if (ev->event_win != input_window) return 1; if (!strcmp(ev->keysymbol, "Up")) _pager_popup_desk_switch(0, -1); else if (!strcmp(ev->keysymbol, "Down")) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs