summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Kovatch <skovatch>2010-11-01 16:09:49 +0000
committerScott Kovatch <skovatch>2010-11-01 16:09:49 +0000
commit5c3ad82fdba22d2ac42c5302029d9be57da18ceb (patch)
tree33148c005c71598b8481b0e2529095cfd758d4e8
parentf2838c7c5a06537eec4689ec5c97910861297c54 (diff)
downloadeclipse.platform.swt-5c3ad82fdba22d2ac42c5302029d9be57da18ceb.tar.gz
eclipse.platform.swt-5c3ad82fdba22d2ac42c5302029d9be57da18ceb.tar.xz
eclipse.platform.swt-5c3ad82fdba22d2ac42c5302029d9be57da18ceb.zip
329181 - don't adjust for the height of the title area in a sheet.
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
index 612657455f..fd65e87c95 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
@@ -784,7 +784,7 @@ boolean fixResize () {
*/
if (window == null) return false;
if ((style & SWT.NO_TRIM) == 0) {
- if ((style & SWT.RESIZE) != 0 && (style & (SWT.TITLE | SWT.CLOSE | SWT.MIN | SWT.MAX)) == 0) {
+ if ((style & SWT.RESIZE) != 0 && (style & (SWT.SHEET | SWT.TITLE | SWT.CLOSE | SWT.MIN | SWT.MAX)) == 0) {
return true;
}
}