Turns out we never actually need to check which window is in front

This commit is contained in:
2014-04-19 09:01:13 -04:00
parent 19c2b37464
commit 6f040e2c56
3 changed files with 3 additions and 15 deletions

View File

@@ -70,16 +70,6 @@ char keyToChar(sf::Keyboard::Key key, bool isShift) {
return 0;
}
bool isFrontWindow(sf::Window& win) {
sf::WindowHandle handle = win.getSystemHandle();
id nsHandle = id(handle);
if([nsHandle isKindOfClass: [NSWindow class]]) {
BOOL main = [nsHandle isMainWindow];
return main;
}
return false;
}
void makeFrontWindow(sf::Window& win) {
sf::WindowHandle handle = win.getSystemHandle();
id nsHandle = id(handle);