Index: include/Gwen/Input/Allegro.h
===================================================================
--- include/Gwen/Input/Allegro.h	(revision 154)
+++ include/Gwen/Input/Allegro.h	(working copy)
@@ -70,9 +70,15 @@
 	
 						case ALLEGRO_EVENT_MOUSE_AXES:
 							{
+								// XXX why not event.mouse.dx, dy?
 								int dx = event.mouse.x - m_MouseX;
 								int dy = event.mouse.y - m_MouseY;
 
+								if (event.mouse.dz != 0)
+								{
+									return m_Canvas->InputMouseWheel( event.mouse.dz * 60 );
+								}
+
 								m_MouseX = event.mouse.x;
 								m_MouseY = event.mouse.y;
 
@@ -85,14 +91,6 @@
 							{
 								return m_Canvas->InputMouseButton( event.mouse.button-1, event.type == ALLEGRO_EVENT_MOUSE_BUTTON_DOWN );
 							}
-							
-/*
-	TODO!
-						case sf::Event::MouseWheelMoved:
-							{
-								return m_Canvas->InputMouseWheel( event.MouseWheel.Delta * 60 );
-							}
-*/
 
 						case ALLEGRO_EVENT_KEY_CHAR:
 							{
Index: Samples/Allegro/AllegroSample.cpp
===================================================================
--- Samples/Allegro/AllegroSample.cpp	(revision 154)
+++ Samples/Allegro/AllegroSample.cpp	(working copy)
@@ -79,19 +79,17 @@
 
 	while( !bQuit )
 	{
-		while ( al_get_next_event( event_queue, &ev) ) 
-		{
-			if ( ev.type == ALLEGRO_EVENT_DISPLAY_CLOSE )
-				bQuit = true;
-
-			GwenInput.ProcessMessage( ev );
-		}
-		
 		pCanvas->RenderCanvas();
 		al_flip_display();
+
+		al_wait_for_event( event_queue, &ev);
+		if ( ev.type == ALLEGRO_EVENT_DISPLAY_CLOSE )
+			bQuit = true;
+
+		GwenInput.ProcessMessage( ev );
 	}
 
 	al_destroy_display( display );
 	al_destroy_event_queue( event_queue );
 	return 0;
-}
\ No newline at end of file
+}
Index: Projects/inc/linux.lua
===================================================================
--- Projects/inc/linux.lua	(revision 154)
+++ Projects/inc/linux.lua	(working copy)
@@ -1,7 +1,7 @@
 
 
-ALLEGRO_LIBS	= { "Renderer-Allegro", "GWEN Static", "UnitTest", "alleg" }
-ALLEGRO_LIBS_D	= { "Renderer-Allegro", "GWEN Static", "UnitTest", "alleg" }
+ALLEGRO_LIBS	= { "Renderer-Allegro", "UnitTest", "GWEN Static", "allegro", "allegro_image", "allegro_font", "allegro_ttf", "allegro_primitives"}
+ALLEGRO_LIBS_D	= { "Renderer-Allegro", "UnitTest", "GWEN Static", "allegro", "allegro_image", "allegro_font", "allegro_ttf", "allegro_primitives"}
 
 SFML_LIBS		= { "Renderer-SFML", "GL", "GWEN Static", "UnitTest", "sfml-window", "sfml-graphics", "sfml-system" }
-SFML_LIBS_D		= { "Renderer-SFML", "GL", "GWEN Static", "UnitTest", "sfml-window", "sfml-graphics", "sfml-system" }
\ No newline at end of file
+SFML_LIBS_D		= { "Renderer-SFML", "GL", "GWEN Static", "UnitTest", "sfml-window", "sfml-graphics", "sfml-system" }
