Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full Screen Focus Switch OSX #66

Closed
tomaka opened this issue Nov 3, 2016 · 2 comments
Closed

Full Screen Focus Switch OSX #66

tomaka opened this issue Nov 3, 2016 · 2 comments

Comments

@tomaka
Copy link
Contributor

tomaka commented Nov 3, 2016

Original: rust-windowing/glutin#720

@mitchmindtree
Copy link
Contributor

Can confirm this behaviour on OS X 10.10.5. Even when dragging other windows or opening new windows on top of the fullscreen window, the fullscreen window always remains on top despite losing focus.

I think normally fullscreen behaviour on OS X opens a new "desktop" tab for the fullscreen window so that it can occupy its own desktop entirely, allowing the user to swipe left and right between their existing desktop and the new desktop with their fullscreen window. Haven't had a chance yet to look at the current fullscreen behaviour to know what's going on.

Curiously, when running the fullscreen.rs example with two monitors, the window is always open on the monitor which was focused when the example is run, despite which monitor is selected on the command line. Here's an example where I run the example on my larger monitor while selecting my smaller monitor on the command line prompt:

screen shot 2016-11-24 at 1 29 45 pm

The dimensions of the smaller monitor are used, while still displaying the "fullscreen" window on the larger monitor.

@francesca64
Copy link
Member

This is now fixed via #465. However, the fullscreen window is still placed on the currently focused monitor, which will be fixed once the relevant additions are made to core-foundation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants