diff --git a/app/src/main/java/com/winlator/core/Workarounds.java b/app/src/main/java/com/winlator/core/Workarounds.java index 8141aec..41813ba 100644 --- a/app/src/main/java/com/winlator/core/Workarounds.java +++ b/app/src/main/java/com/winlator/core/Workarounds.java @@ -10,11 +10,13 @@ public abstract class Workarounds { // Workaround for applications that don't work mouse/keyboard public static void onMapWindow(final WinHandler winHandler, Window window) { final String className = window.getClassName(); - if (className.equals("twfc.exe")) { + if (className.equals("twfc.exe") || + className.equals("daggerfallunity.exe")) { + final boolean reverse = className.equals("twfc.exe"); (new Timer()).schedule(new TimerTask() { @Override public void run() { - winHandler.bringToFront(className, true); + winHandler.bringToFront(className, reverse); } }, 500); }