Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_border.c
Log Message:
Don't change the event structure.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -3 -r1.96 -r1.97
--- e_border.c 11 Feb 2005 14:39:44 -0000 1.96
+++ e_border.c 11 Feb 2005 14:50:08 -0000 1.97
@@ -1778,9 +1778,11 @@
E_Config_Binding *eb;
int x, y, w, h;
char source[16];
+ int modifiers;
ev = event;
bd = data;
+ modifiers = ev->modifiers;
if (ev->event_win == bd->win)
{
if ((ev->button >= 1) && (ev->button <= 3))
@@ -1796,11 +1798,11 @@
bd->mouse.current.my = ev->root.y;
/* Bindings */
/* Remove LOCK keys */
- ev->modifiers &=
~(ECORE_X_LOCK_SCROLL|ECORE_X_LOCK_NUM|ECORE_X_LOCK_CAPS);
+ modifiers &= ~(ECORE_X_LOCK_SCROLL|ECORE_X_LOCK_NUM|ECORE_X_LOCK_CAPS);
for (list = e_config->bindings; list; list = list->next)
{
eb = list->data;
- if ((ev->button == eb->button) && (ev->modifiers == eb->modifiers))
+ if ((ev->button == eb->button) && (modifiers == eb->modifiers))
{
snprintf(source, sizeof(source) - 1, "mouse,%d", eb->button);
switch (eb->action)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs