diff options
author | Felipe Heidrich | 2010-11-19 21:27:42 +0000 |
---|---|---|
committer | Felipe Heidrich | 2010-11-19 21:27:42 +0000 |
commit | c29adbe213f9131df81578415d17b48ea7425bd3 (patch) | |
tree | 02f89fbedd87725bf9a4ecee25365a2908e87ca5 | |
parent | 05a8cbba5a9312a46e3a6b81585ac0edaa21107d (diff) | |
download | eclipse.platform.swt-c29adbe213f9131df81578415d17b48ea7425bd3.tar.gz eclipse.platform.swt-c29adbe213f9131df81578415d17b48ea7425bd3.tar.xz eclipse.platform.swt-c29adbe213f9131df81578415d17b48ea7425bd3.zip |
Bug 319893 - Shell's with SWT.NO_TRIM not minimized on Windows+M keystroke
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java index 6052f6bf20..edf5025499 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java @@ -1558,7 +1558,7 @@ int widgetStyle () { bits &= ~OS.WS_BORDER; if ((style & SWT.NO_TRIM) != 0) { if (parent == null) { - bits |= OS.WS_SYSMENU; + bits |= OS.WS_SYSMENU | OS.WS_MINIMIZEBOX; } return bits; } |