Damjan Jovanovic : ole32: Convey the Alt button state to the drop target.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 7 08:11:58 CDT 2015


Module: wine
Branch: master
Commit: 372b0e1e80be906a75c2fda3877703942d635de5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=372b0e1e80be906a75c2fda3877703942d635de5

Author: Damjan Jovanovic <damjan.jov at gmail.com>
Date:   Sat Jul  4 15:36:29 2015 +0200

ole32: Convey the Alt button state to the drop target.

---

 dlls/ole32/ole2.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index b0a8c3b..09cbccf 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -2453,6 +2453,9 @@ static DWORD OLEDD_GetButtonState(void)
   if ( (keyboardState[VK_CONTROL] & 0x80) !=0)
     keyMask |= MK_CONTROL;
 
+  if ( (keyboardState[VK_MENU] & 0x80) !=0)
+    keyMask |= MK_ALT;
+
   if ( (keyboardState[VK_LBUTTON] & 0x80) !=0)
     keyMask |= MK_LBUTTON;
 




More information about the wine-cvs mailing list