diff options
author | Grant Gayed <ggayed> | 2004-05-11 20:31:45 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2004-05-11 20:31:45 +0000 |
commit | 88080c08af2325fb66aea8c24d7f0210fa71fd6c (patch) | |
tree | 01304f3b42c93b771ed496d023eafb459157083a /bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt | |
parent | 2539d36d44074ece9e650f0aa2d18a03f89f6048 (diff) | |
download | eclipse.platform.swt-88080c08af2325fb66aea8c24d7f0210fa71fd6c.tar.gz eclipse.platform.swt-88080c08af2325fb66aea8c24d7f0210fa71fd6c.tar.xz eclipse.platform.swt-88080c08af2325fb66aea8c24d7f0210fa71fd6c.zip |
61337
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java index e427740d3c..23e38b5476 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java @@ -1198,7 +1198,7 @@ boolean setBounds (int x, int y, int width, int height, boolean move, boolean re if (move) OS.XtMoveWidget (shellHandle, x, y); if (resize) OS.XtResizeWidget (shellHandle, width, height, 0); } - if (resize) updateResizable (width, height); + if (resize && OS.IsLinux) updateResizable (width, height); if (isFocus) caret.setFocus (); return move || resize; } @@ -1537,7 +1537,7 @@ int XStructureNotify (int w, int client_data, int call_data, int continue_to_dis OS.XtGetValues (shellHandle, argList, argList.length / 2); xEvent.x = root_x [0]; xEvent.y = root_y [0]; xEvent.width = argList [1]; xEvent.height = argList [3]; - updateResizable (xEvent.width, xEvent.height); + if (OS.IsLinux) updateResizable (xEvent.width, xEvent.height); // FALL THROUGH } case OS.ConfigureNotify: |