projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f6052
)
added support for meta/windows/command key for window scaling shortcuts
author
Holger Schemel
<info@artsoft.org>
Wed, 27 Apr 2016 22:14:18 +0000
(
00:14
+0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 27 Apr 2016 22:14:18 +0000
(
00:14
+0200)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index 564f647d396ff52c1f8d230a848fba4b1a2c9ae9..bad68898754e4249cdc09113095de3dc57728356 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-1359,7
+1359,8
@@
void HandleKey(Key key, int key_status)
key == KSYM_plus ||
key == KSYM_0) &&
((GetKeyModState() & KMOD_Control) ||
- (GetKeyModState() & KMOD_Alt)) &&
+ (GetKeyModState() & KMOD_Alt) ||
+ (GetKeyModState() & KMOD_Meta)) &&
video.window_scaling_available &&
!video.fullscreen_enabled)
{