From: Holger Schemel Date: Wed, 27 Apr 2016 22:14:18 +0000 (+0200) Subject: added support for meta/windows/command key for window scaling shortcuts X-Git-Tag: 4.0.0.0-rc2~2 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=887ef75d8d48c7279d4ea0897350070782f2c457;p=rocksndiamonds.git added support for meta/windows/command key for window scaling shortcuts --- diff --git a/src/events.c b/src/events.c index 564f647d..bad68898 100644 --- 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) {