Giter Site home page Giter Site logo

Comments (9)

wmcbrine avatar wmcbrine commented on May 24, 2024

Confirmed... interesting, it seems like the display stops updating, but the apps still respond to input (e.g. exit on 'q'. where applicable). I'll investigate further.

from pdcurses.

wmcbrine avatar wmcbrine commented on May 24, 2024

SDL2 does have awareness of multiple monitors. I suspect this is related to moving the window to a monitor with a different DPI (e.g. a built-in Retina monitor to an external non-Retina). The suggested solutions I'm seeing for similar-sounding problems involve making the app DPI-aware... which, see issue #18.

from pdcurses.

wmcbrine avatar wmcbrine commented on May 24, 2024

OK, you can unfreeze the apps by resizing them, at least the ones that support resizing. Hmm...

from pdcurses.

wmcbrine avatar wmcbrine commented on May 24, 2024

OK, I can fix it by removing the check that the new size is different from the old size in the resizing handler. Will clean this up a bit before commit.

from pdcurses.

wmcbrine avatar wmcbrine commented on May 24, 2024

Partial fix: 33b4f57

from pdcurses.

rexx-org avatar rexx-org commented on May 24, 2024

Confirmed patch works as intended, but resizing a window once dragged to the non-retina display is badly broken. Does seem related to #18
It is also annoying that an SDL program launched from a terminal session in the secondary monitor opens on the primary display.

from pdcurses.

wmcbrine avatar wmcbrine commented on May 24, 2024

Resizing of windows dragged to screens of different DPI now works.

from pdcurses.

wmcbrine avatar wmcbrine commented on May 24, 2024

While SDL has no concept of a controlling terminal, I can make the window open on the screen where the moiuse pointer is.

from pdcurses.

GitMensch avatar GitMensch commented on May 24, 2024

Looks like this is solved, isn't it?

from pdcurses.

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.