diff options
author | Silenio Quarti <silenio> | 2010-12-20 18:05:12 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2010-12-20 18:05:12 +0000 |
commit | c9f002e07a5569e3603207097b95622aa40433d3 (patch) | |
tree | 8feff707bbe350d4d6f228b1618437b91e4bc149 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java | |
parent | e016ba89c21e400aef8be1d1e588242881e2ba44 (diff) | |
download | eclipse.platform.swt-c9f002e07a5569e3603207097b95622aa40433d3.tar.gz eclipse.platform.swt-c9f002e07a5569e3603207097b95622aa40433d3.tar.xz eclipse.platform.swt-c9f002e07a5569e3603207097b95622aa40433d3.zip |
Bug 283320 - [SWT] Widgets flashing when moving mouse while holding Alt button
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java index 93fcdde884..580e7f22ad 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java @@ -3566,7 +3566,7 @@ boolean translateMnemonic (MSG msg) { boolean translateTraversal (MSG msg) { int /*long*/ hwnd = msg.hwnd; int key = (int)/*64*/msg.wParam; - if (key == OS.VK_MENU) { + if (key == OS.VK_MENU && ((msg.lParam & 0x40000000) == 0)) { OS.SendMessage (hwnd, OS.WM_CHANGEUISTATE, OS.UIS_INITIALIZE, 0); return false; } |