Commit 4a51b48a authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: make sure that the fspanel is always displayed on the same screen as the vout it belongs to

parent f091e0d4
......@@ -357,9 +357,11 @@
[o_vout_window release];
o_vout_window = [o_window retain];
int i_newdevice = (int)[[o_vout_window screen] displayID];
if (i_newdevice != i_device && i_device != 0)
if ((i_newdevice != i_device && i_device != 0) || i_newdevice != [[self screen] displayID]) {
i_device = i_newdevice;
[self center];
i_device = i_newdevice;
} else
i_device = i_newdevice;
}
@end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment