From 3200c0390d506b1f0c295eed191fd4496efcf1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Wed, 6 Jun 2018 01:06:38 +0000 Subject: [PATCH] GDK W32: Don't forget to check VK_MENU and set MK_ALT --- gdk/win32/gdkdnd-win32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdk/win32/gdkdnd-win32.c b/gdk/win32/gdkdnd-win32.c index 589aea5a8e..762e5c3023 100644 --- a/gdk/win32/gdkdnd-win32.c +++ b/gdk/win32/gdkdnd-win32.c @@ -2079,6 +2079,8 @@ _gdk_win32_window_drag_begin (GdkWindow *window, context_win32->last_key_state = 0; API_CALL (GetKeyboardState, (kbd_state)); + if (kbd_state[VK_MENU] & 0x80) + context_win32->last_key_state |= MK_ALT; if (kbd_state[VK_CONTROL] & 0x80) context_win32->last_key_state |= MK_CONTROL; if (kbd_state[VK_SHIFT] & 0x80)