Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_config.c e_winlist.c
Log Message:
oops - warp was not framerate independent. fix.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- e_config.c 15 Jun 2005 07:03:51 -0000 1.60
+++ e_config.c 15 Jun 2005 10:22:41 -0000 1.61
@@ -242,7 +242,7 @@
e_config->gadget_resist = 32;
e_config->winlist_warp_while_selecting = 1;
e_config->winlist_warp_at_end = 1;
- e_config->winlist_warp_speed = 0.2;
+ e_config->winlist_warp_speed = 0.1;
e_config->winlist_scroll_animate = 1;
e_config->winlist_scroll_speed = 0.1;
e_config->winlist_list_show_iconified = 1;
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_winlist.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- e_winlist.c 14 Jun 2005 14:33:47 -0000 1.17
+++ e_winlist.c 15 Jun 2005 10:22:41 -0000 1.18
@@ -493,6 +493,7 @@
{
if (e_config->focus_policy != E_FOCUS_CLICK)
{
+ ecore_x_pointer_xy_get(winlist->zone->container->win, &warp_x,
&warp_y);
warp_to_x = ww->border->x + (ww->border->w / 2);
warp_to_y = ww->border->y + (ww->border->h / 2);
if (e_config->winlist_warp_while_selecting)
@@ -754,7 +755,8 @@
double spd;
spd = e_config->winlist_warp_speed;
- ecore_x_pointer_xy_get(winlist->zone->container->win, &x, &y);
+ x = warp_x;
+ y = warp_y;
warp_x = (x * (1.0 - spd)) + (warp_to_x * spd);
warp_y = (y * (1.0 - spd)) + (warp_to_y * spd);
return 1;
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs