Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
ecore_x_events.c
Log Message:
initialize e->modifiers. fixed indentation.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_events.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ecore_x_events.c 7 Feb 2004 19:37:47 -0000 1.23
+++ ecore_x_events.c 8 Feb 2004 19:39:29 -0000 1.24
@@ -263,14 +263,15 @@
if (!e)
return;
- e->direction = 0;
- e->z = 0;
- if (xevent->xbutton.button == 4) e->z = -1;
- else if (xevent->xbutton.button == 5) e->z = 1;
- e->x = xevent->xbutton.x;
- e->y = xevent->xbutton.y;
- e->root.x = xevent->xbutton.x_root;
- e->root.y = xevent->xbutton.y_root;
+ e->modifiers = 0;
+ e->direction = 0;
+ e->z = 0;
+ if (xevent->xbutton.button == 4) e->z = -1;
+ else if (xevent->xbutton.button == 5) e->z = 1;
+ e->x = xevent->xbutton.x;
+ e->y = xevent->xbutton.y;
+ e->root.x = xevent->xbutton.x_root;
+ e->root.y = xevent->xbutton.y_root;
if (xevent->xbutton.subwindow)
e->win = xevent->xbutton.subwindow;
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs