summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/PluginWindowController.m')
-rwxr-xr-xmacosx/plugins/DFXVideo/macsrc/PluginWindowController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
index 17431fc3..0ad6dd74 100755
--- a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
+++ b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m
@@ -45,7 +45,7 @@ NSRect windowFrame;
[gameWindow makeKeyAndOrderFront:nil];
[gameController showWindow:nil];
- CGDirectDisplayID display = (CGDirectDisplayID)[[[[gameWindow screen] deviceDescription] objectForKey:@"NSScreenNumber"] unsignedIntValue];
+ CGDirectDisplayID display = (CGDirectDisplayID)[[[gameWindow screen] deviceDescription][@"NSScreenNumber"] unsignedIntValue];
if (CGDisplayIsCaptured(display)) {
[gameController setFullscreen:YES];
}
@@ -89,7 +89,7 @@ NSRect windowFrame;
{
NSWindow *window = [self window];
NSScreen *screen = [window screen];
- CGDirectDisplayID display = (CGDirectDisplayID)[[[screen deviceDescription] objectForKey:@"NSScreenNumber"] unsignedIntValue];
+ CGDirectDisplayID display = (CGDirectDisplayID)[[screen deviceDescription][@"NSScreenNumber"] unsignedIntValue];
NSDisableScreenUpdates();