Enlightenment CVS committal
Author : urandom
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/exebuf
Modified Files:
e_exebuf.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/exebuf/e_exebuf.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_exebuf.c 5 Aug 2007 04:41:55 -0000 1.2
+++ e_exebuf.c 30 May 2008 22:30:56 -0000 1.3
@@ -1242,7 +1242,7 @@
ev_last_is_mouse = 0;
ev = event;
- if (ev->win != input_window) return 1;
+ if (ev->event_win != input_window) return 1;
if (!strcmp(ev->keysymbol, "Up"))
_e_exebuf_prev();
else if (!strcmp(ev->keysymbol, "Down"))
@@ -1295,7 +1295,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;
if (ev_last_mouse_exe && (exe_sel != ev_last_mouse_exe))
{
@@ -1313,7 +1313,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;
if (ev->button == 1)
_e_exebuf_exec();
else if (ev->button == 2)
@@ -1328,7 +1328,7 @@
Ecore_X_Event_Mouse_Move *ev;
ev = event;
- if (ev->win != input_window) return 1;
+ if (ev->event_win != input_window) return 1;
if (!ev_last_is_mouse)
{
@@ -1358,7 +1358,7 @@
Ecore_X_Event_Mouse_Wheel *ev;
ev = event;
- if (ev->win != input_window) return 1;
+ if (ev->event_win != input_window) return 1;
ev_last_is_mouse = 0;
-------------------------------------------------------------------------
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