gcompris r3705 - in trunk: . src/gcompris



Author: bcoudoin
Date: Fri Jan 30 22:24:53 2009
New Revision: 3705
URL: http://svn.gnome.org/viewvc/gcompris?rev=3705&view=rev

Log:
	Vitali Perchonok is com gmail from vitali.pe
	Allow only left button on HOME.
	Using left button only should prevent the menu from freezing
        when pressing two or more buttons at the same time
	(Not sure what the bug was but it does not hurt).



Modified:
   trunk/ChangeLog
   trunk/src/gcompris/bar.c

Modified: trunk/src/gcompris/bar.c
==============================================================================
--- trunk/src/gcompris/bar.c	(original)
+++ trunk/src/gcompris/bar.c	Fri Jan 30 22:24:53 2009
@@ -564,7 +564,11 @@
 		}
 	    }
 	}
-      else if(!strcmp((char *)data, "back"))
+      /*
+	 using left button only should prevent the menu from freezing
+	 when pressing two or more buttons at the same time
+      */
+      else if( !strcmp((char *)data, "back") && event->button.button == 1 )
 	{
 	  gc_bar_hide (TRUE);
 	  gc_board_stop();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]