projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
accd421
)
Added F12 as shortcut for screenshots since Print key is captured by some window...
author
Ingo Ruhnke
<grumbel@gmx.de>
Thu, 22 May 2008 18:12:22 +0000
(18:12 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Thu, 22 May 2008 18:12:22 +0000
(18:12 +0000)
SVN-Revision: 5504
src/mainloop.cpp
patch
|
blob
|
history
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();
}