From 013f0c53171f9a86f99ee296d392b0c0861501ce Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 24 Oct 2016 22:08:24 -0400 Subject: [PATCH] Finally forced emulation window to front. Also removed min/max heights where they'd crept in and got explicit about the OpenGL view being first responder. --- OSBindings/Mac/Clock Signal/Base.lproj/Atari2600Options.xib | 4 +--- OSBindings/Mac/Clock Signal/Base.lproj/ElectronOptions.xib | 2 -- OSBindings/Mac/Clock Signal/Base.lproj/MachineDocument.xib | 1 + OSBindings/Mac/Clock Signal/Documents/MachineDocument.swift | 3 +++ 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OSBindings/Mac/Clock Signal/Base.lproj/Atari2600Options.xib b/OSBindings/Mac/Clock Signal/Base.lproj/Atari2600Options.xib index 50926faf4..875298900 100644 --- a/OSBindings/Mac/Clock Signal/Base.lproj/Atari2600Options.xib +++ b/OSBindings/Mac/Clock Signal/Base.lproj/Atari2600Options.xib @@ -12,12 +12,10 @@ - + - - diff --git a/OSBindings/Mac/Clock Signal/Base.lproj/ElectronOptions.xib b/OSBindings/Mac/Clock Signal/Base.lproj/ElectronOptions.xib index 20ebefd9a..2e05438f5 100644 --- a/OSBindings/Mac/Clock Signal/Base.lproj/ElectronOptions.xib +++ b/OSBindings/Mac/Clock Signal/Base.lproj/ElectronOptions.xib @@ -16,8 +16,6 @@ - - diff --git a/OSBindings/Mac/Clock Signal/Base.lproj/MachineDocument.xib b/OSBindings/Mac/Clock Signal/Base.lproj/MachineDocument.xib index ba4710992..5dd259d78 100644 --- a/OSBindings/Mac/Clock Signal/Base.lproj/MachineDocument.xib +++ b/OSBindings/Mac/Clock Signal/Base.lproj/MachineDocument.xib @@ -36,6 +36,7 @@ + diff --git a/OSBindings/Mac/Clock Signal/Documents/MachineDocument.swift b/OSBindings/Mac/Clock Signal/Documents/MachineDocument.swift index 8f54d6884..193c7bc31 100644 --- a/OSBindings/Mac/Clock Signal/Documents/MachineDocument.swift +++ b/OSBindings/Mac/Clock Signal/Documents/MachineDocument.swift @@ -67,6 +67,9 @@ class MachineDocument: setupClockRate() self.machine.delegate = self self.optionsPanel?.establishStoredOptions() + + // bring OpenGL view-holding window on top of the options panel + self.openGLView.window!.makeKeyAndOrderFront(self) } func machineDidChangeClockRate(_ machine: CSMachine!) {