Enlightenment CVS committal
Author : urandom
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/winlist
Modified Files:
e_winlist.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/winlist/e_winlist.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_winlist.c 17 Dec 2007 21:52:27 -0000 1.6
+++ e_winlist.c 30 May 2008 22:30:56 -0000 1.7
@@ -748,7 +748,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"))
e_winlist_prev();
else if (!strcmp(ev->keysymbol, "Down"))
@@ -890,7 +890,7 @@
Ecore_X_Event_Mouse_Button_Down *ev;
ev = event;
- if (ev->win != input_window) return 1;
+ if (ev->event_win != input_window) return 1;
e_bindings_mouse_down_event_handle(E_BINDING_CONTEXT_WINLIST,
E_OBJECT(winlist->zone), ev);
return 1;
@@ -902,7 +902,7 @@
Ecore_X_Event_Mouse_Button_Up *ev;
ev = event;
- if (ev->win != input_window) return 1;
+ if (ev->event_win != input_window) return 1;
e_bindings_mouse_up_event_handle(E_BINDING_CONTEXT_WINLIST,
E_OBJECT(winlist->zone), ev);
return 1;
@@ -914,7 +914,7 @@
Ecore_X_Event_Mouse_Wheel *ev;
ev = event;
- if (ev->win != input_window) return 1;
+ if (ev->event_win != input_window) return 1;
e_bindings_wheel_event_handle(E_BINDING_CONTEXT_WINLIST,
E_OBJECT(winlist->zone), ev);
if (ev->z < 0) /* up */
@@ -938,7 +938,7 @@
Ecore_X_Event_Mouse_Move *ev;
ev = event;
- if (ev->win != input_window) return 1;
+ if (ev->event_win != input_window) return 1;
evas_event_feed_mouse_move(winlist->evas, ev->x - winlist->x +
winlist->zone->x, ev->y - winlist->y + winlist->zone->y, ev->time,
NULL);
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs