Skip to content

Commit 223dfe7

Browse files
iloveeclipsemerks
authored andcommitted
Revert "Sync maximized flag from the shell size with the application
model" This reverts commit ebfb7ec as it introduces regression Fixes #3227
1 parent 3e20601 commit 223dfe7

File tree

1 file changed

+1
-4
lines changed
  • bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt

1 file changed

+1
-4
lines changed

bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/WBWRenderer.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,11 +534,8 @@ public void hookControllerLogic(MUIElement me) {
534534
@Override
535535
public void controlResized(ControlEvent e) {
536536
// Don't store the maximized size in the model
537-
// But set the maximized tag so that the user can access the current state
538537
if (shell.getMaximized()) {
539-
me.getTags().add(ShellMaximizedTag);
540-
} else {
541-
me.getTags().remove(ShellMaximizedTag);
538+
return;
542539
}
543540

544541
try {

0 commit comments

Comments
 (0)