Re: [hatari-devel] Mouse pointer issue (X11/Wayland)

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Dienstag, 3. September 2024 17:04:51 CEST Nicolas Pomar� wrote:

> maybe recent SDL can give a hint about wayland is used or not ?


strcmp(SDL_GetCurrentVideoDriver(), "wayland") == 0


should do it.


Maybe with a safety check whether SDL_GetCurrentVideoDriver() returns NULL (not sure whether that can happen)






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/