Giter Club home page Giter Club logo

Comments (5)

 avatar commented on May 6, 2024

My guess is that this is because of the 2-monitor configuration. I can look into how SDL is setting fullscreen mode and whether there are known bugs with that.

In the latest code, I switched to having it start windowed by default. That seems to be a better approach because if any bugs do occur the first time you run the program, dealing with a non-functioning window is a lot easier than dealing with a non-functioning full-screen app. :)

from endless-sky.

AMDmi3 avatar AMDmi3 commented on May 6, 2024

My guess is that this is because of the 2-monitor configuration. I can look into how SDL is setting fullscreen mode and whether there are known bugs with that.

Some games (red eclipse afair) really do try to set fullscreen on both monitors, and this works (e.g. graphics are shown, though it's of course ungly due to inter-monitor gap and different resolutions). This is usually fixed by Alt+Enter, and I'm not sure whether it's handled by the game itself or my wm (notion, tiled wm, which may also affect such stuff). With endless sky it doesn't work. Gonna experiment a bit more.

In the latest code, I switched to having it start windowed by default. That seems to be a better approach because if any bugs do occur the first time you run the program, dealing with a non-functioning window is a lot easier than dealing with a non-functioning full-screen app. :)

That's great, gonna check it out.

from endless-sky.

 avatar commented on May 6, 2024

I think Alt+Enter is just a common keyboard mapping for "Toggle fullscreen" - not something the window manager handles. I used F11 for fullscreen instead, which is the other common mapping for it. I could have Alt+Enter be an automatic second way of toggling full-screen. My only worry would be that someone might hit Alt+Enter by accident and say, "Why did that toggle full screen? I have that mapped to F11."

from endless-sky.

AMDmi3 avatar AMDmi3 commented on May 6, 2024

No, notion has Alt+Enter explicitly mapped to fullscreen toggle.

from endless-sky.

 avatar commented on May 6, 2024

Well, I explicitly added Alt+Enter as a shortcut for toggle full screen (commit aa3c2a6). I looked through the SDL documentation and a lot of web forums to see if there's a way to instead receive a "toggle full screen" message from the window manager, but could not find anything.

from endless-sky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.