A small fix to put the full screen on the current monitor
@@ -177,6 +177,9 @@ public class FullScreenAction extends WorkbenchPartAction {
// SWT.SHELL_TRIM is needed for GTK for a full-size shell (tested on Ubuntu)
int style = PlatformUtils.isWindows() ? SWT.NONE : SWT.APPLICATION_MODAL | SWT.SHELL_TRIM ;
fNewShell = new Shell(Display.getCurrent(), style);
+ // To put the full screen on the current monitor:
+ fNewShell.setLocation(fOldParent.getShell().getLocation());
+
fNewShell.setFullScreen(true);
fNewShell.setMaximized(true);
fNewShell.setText(Display.getAppName());
