From: Ingo Ruhnke Date: Thu, 22 May 2008 18:12:22 +0000 (+0000) Subject: Added F12 as shortcut for screenshots since Print key is captured by some window... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b17e4721908ce550d5b18e63450997fc5a6833a7;p=supertux.git Added F12 as shortcut for screenshots since Print key is captured by some window managers SVN-Revision: 5504 --- diff --git a/src/mainloop.cpp b/src/mainloop.cpp index ec11131d2..4106f5941 100644 --- a/src/mainloop.cpp +++ b/src/mainloop.cpp @@ -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(); }