Giter Club home page Giter Club logo

Comments (5)

qwach avatar qwach commented on August 24, 2024

Ubuntu 12.10, self-compiled from version 7782a40.

from macemu.

vasi avatar vasi commented on August 24, 2024

It looks like in fullscreen SDL on Linux, video_can_change_cursor() indicates that we should use a hardware cursor, but the driver_fullscreen constructor expects a software cursor and doesn't initialize the hardware one.

It used to be that fullscreen always used a software cursor, but commit be28a8e put the check if (display_type != DISPLAY_WINDOW) return false inside an #ifdef APPLE . Was this an accident? Moving the check out of the ifdef makes the cursor work again.

Alternatively, if I make driver_fullscreen initialize the hardware cursor, that seems to work too. Is there a reason why the hardware cursor isn't used in fullscreen mode?

from macemu.

RonaldPR avatar RonaldPR commented on August 24, 2024

Op 5 april 2013, om 06:56, schreef Dave Vasilevsky [email protected]:

Is there a reason why the hardware cursor isn't used in fullscreen mode?

I suppose it has/had to do with different SDL versions. SDL (I forgot which version) did support the hardware cursor in window mode only, then later SDL versions did not support the hardware cursor at all (also not in window mode), and now current versions do support the hardware cursor again, at least in window mode. Probably no one tried if the hardware cursor was now also supported in fullscreen mode.

Ronald.

from macemu.

vasi avatar vasi commented on August 24, 2024

Ronald, I think that issue with SDL was only on Macs. AFAIK, the Linux code always used a hardware cursor in windowed SDL mode.

from macemu.

qwach avatar qwach commented on August 24, 2024

I can see the mouse cursor fine now, but it's much too fast, and I can't run Mac OS 9 at my native resolution anymore. I'll open separate issues for that.

from macemu.

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.