projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added F12 as shortcut for screenshots since Print key is captured by some window...
[supertux.git]
/
src
/
mainloop.cpp
diff --git
a/src/mainloop.cpp
b/src/mainloop.cpp
index
ec11131
..
4106f59
100644
(file)
--- 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();
}