[Supertux-Commit] r5504 - trunk/supertux/src

grumbel at millhouse.dreamhost.com grumbel at millhouse.dreamhost.com
Thu May 22 11:12:23 PDT 2008


Author: grumbel
Date: 2008-05-22 11:12:22 -0700 (Thu, 22 May 2008)
New Revision: 5504

Modified:
   trunk/supertux/src/mainloop.cpp
Log:
Added F12 as shortcut for screenshots since Print key is captured by some window managers

Modified: trunk/supertux/src/mainloop.cpp
===================================================================
--- trunk/supertux/src/mainloop.cpp	2008-05-22 10:59:35 UTC (rev 5503)
+++ trunk/supertux/src/mainloop.cpp	2008-05-22 18:12:22 UTC (rev 5504)
@@ -206,7 +206,8 @@
                 config->use_fullscreen = !config->use_fullscreen;
                 init_video();
               }
-            else if (event.key.keysym.sym == SDLK_PRINT) 
+            else if (event.key.keysym.sym == SDLK_PRINT ||
+                     event.key.keysym.sym == SDLK_F12)
               {
                 take_screenshot();
               }




More information about the Supertux-Commit mailing list