Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
edge.c
Log Message:
Remove the "excessive flip check" limiting minimum time between edge flips.
Cleanups.
===================================================================
RCS file: /cvs/e/e16/e/src/edge.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- edge.c 23 Mar 2007 22:04:38 -0000 1.34
+++ edge.c 23 Jul 2007 19:25:08 -0000 1.35
@@ -131,35 +131,22 @@
static void
EdgeHandleEvents(Win win __UNUSED__, XEvent * ev, void *prm)
{
- static Time last_time = 0;
int dir;
- unsigned long dt;
dir = (long)prm;
switch (ev->type)
{
+ default:
+ break;
+
case EnterNotify:
- /* Avoid excessive flipping */
- dt = ev->xcrossing.time - last_time;
- if (dt < 500)
- return;
- last_time = ev->xcrossing.time;
EdgeEvent(dir);
break;
case LeaveNotify:
EdgeEvent(-1);
break;
-
-#if 0
- case MotionNotify:
- if (Mode.mode != MODE_MOVE_PENDING && Mode.mode != MODE_MOVE)
- break;
-
- EdgeEvent(dir);
- break;
-#endif
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs