commit | 5def7fd9812bfd7d875d560593839b147077a82a | [log] [tgz] |
---|---|---|
author | Gulevich Vasili <vasili.gulevich@xored.com> | Wed Aug 27 20:14:28 2014 +0700 |
committer | Gulevich Vasili <vasili.gulevich@xored.com> | Wed Aug 27 20:16:10 2014 +0700 |
tree | 4f629b63ed1b6ef5715fc3bcaf6b8581a4048f40 | |
parent | 135488a22625f0ceb85420712c60900fa96d061c [diff] |
Bug 442038 Strange reflection madness removed in attempt to fix linux focus issues.
diff --git a/runtime/tesla/org.eclipse.rcptt.tesla.swt.aspects/src/org/eclipse/rcptt/tesla/swt/events/TeslaEventManager.java b/runtime/tesla/org.eclipse.rcptt.tesla.swt.aspects/src/org/eclipse/rcptt/tesla/swt/events/TeslaEventManager.java index 94e3f7e..5eb7834 100644 --- a/runtime/tesla/org.eclipse.rcptt.tesla.swt.aspects/src/org/eclipse/rcptt/tesla/swt/events/TeslaEventManager.java +++ b/runtime/tesla/org.eclipse.rcptt.tesla.swt.aspects/src/org/eclipse/rcptt/tesla/swt/events/TeslaEventManager.java
@@ -245,16 +245,6 @@ } public static void updateActiveShell() { - if (Platform.getOS().equals(Platform.OS_LINUX) && activeShell != null - && !activeShell.isDisposed()) { - try { - Field field = Display.class.getDeclaredField("activeShell"); - field.setAccessible(true); - field.set(activeShell.getDisplay(), activeShell); - } catch (Throwable e) { - SWTAspectActivator.log(e); - } - } } public static Shell getActiveShell() {