Hi,
i reused parts of e_winlist for a module and encouterd the problem
that the warp-timer wont stop due to roundings to int. This patch fixes
that.

Regards,
Hannes
Index: e_winlist.c
===================================================================
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_winlist.c,v
retrieving revision 1.50
diff -u -r1.50 e_winlist.c
--- e_winlist.c	2 Mar 2007 17:00:20 -0000	1.50
+++ e_winlist.c	13 Mar 2007 00:28:39 -0000
@@ -54,10 +54,10 @@
 static Evas_List *handlers = NULL;
 static Ecore_X_Window input_window = 0;
 static int warp_to = 0;
-static int warp_to_x = 0;
-static int warp_to_y = 0;
-static int warp_x = 0;
-static int warp_y = 0;
+static double warp_to_x = 0;
+static double warp_to_y = 0;
+static double warp_x = 0;
+static double warp_y = 0;
 static int scroll_to = 0;
 static double scroll_align_to = 0.0;
 static double scroll_align = 0.0;
@@ -914,7 +914,7 @@
 {
    if (warp_to)
      {
-	int x, y;
+	double x, y;
 	double spd;
 	
 	spd = e_config->winlist_warp_speed;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to