Bug 339737 Switching perspectives has trim layout issues
If you switch to a perspective that has minimized stacks the vertical trim bar's layout is not correct...
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java
changedElement.getTags().add(MINIMIZED);
						}
						public void restore(CTabFolderEvent event) {
							changedElement.getTags().remove(MINIMIZED);
						}
					});
				} else {
					folder.addMouseListener(new MouseListener() {
						public void mouseUp(MouseEvent e) {
						}
						public void mouseDown(MouseEvent e) {
						}
						public void mouseDoubleClick(MouseEvent e) {
							MWindow window = modelService.getTopLevelWindowFor(changedElement);
							MPerspective curPersp = modelService.getActivePerspective(window);
							if (curPersp.getTags().contains(EA_MAXIMIZED))
								curPersp.getTags().remove(EA_MAXIMIZED);
							else
								curPersp.getTags().add(EA_MAXIMIZED);
						}
					});
				}
			}
		}
	};
	private EventHandler perspectiveChangeListener = new EventHandler() {
		public void handleEvent(Event event) {
			final MUIElement changedElement = (MUIElement) event.getProperty(EventTags.ELEMENT);
			if (!(changedElement instanceof MPerspectiveStack))
				return;