Added F12 as shortcut for screenshots since Print key is captured by some window...
authorIngo Ruhnke <grumbel@gmx.de>
Thu, 22 May 2008 18:12:22 +0000 (18:12 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Thu, 22 May 2008 18:12:22 +0000 (18:12 +0000)
SVN-Revision: 5504

src/mainloop.cpp

index ec11131..4106f59 100644 (file)
@@ -206,7 +206,8 @@ MainLoop::process_events()
                 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();
               }