GDK W32: Don't forget to check VK_MENU and set MK_ALT

This commit is contained in:
Руслан Ижбулатов 2018-06-06 01:06:38 +00:00
parent 9ac7f906aa
commit 3200c0390d

View File

@ -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)