Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2010-11-19 21:27:42 +0000
committerFelipe Heidrich2010-11-19 21:27:42 +0000
commitc29adbe213f9131df81578415d17b48ea7425bd3 (patch)
tree02f89fbedd87725bf9a4ecee25365a2908e87ca5
parent05a8cbba5a9312a46e3a6b81585ac0edaa21107d (diff)
downloadeclipse.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-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java2
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;
}

Back to the top