Re: [hatari-devel] Mouse pointer issue (X11/Wayland) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Mouse pointer issue (X11/Wayland)
- From: Thorsten Otto <admin@xxxxxxxxxxx>
- Date: Tue, 03 Sep 2024 17:58:07 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tho-otto.de; s=dkim; t=1725379099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8Sh6jzEvcRZKExo2HRcClAv4HyjKpSeXdb4GvSLSbpU=; b=cfkIrC+XXVy5rVibEm4F3bNaPM7u0bEVKA/f5sQic1F38CuOOJ/yIoqTVuKg/EVlCpxuCX SulKifLob+xVSLosYpLg+IsEgkZKs4EpYrYO6DWxp+Nzupz4+ewlIv5TC2tG1FwpnOU3eB 3o0W96nNdokDKGxwanBCOWFuvqjeF/MDKc/1zmFkXZgOQCkICTMDDFsS4yoSiIvQ7kpeLf 0Hc7yj3iMqrWwhkB2owpFO1oPPuMkhuc5aN/uesWqs3ZF4dOAsLmSBNvouug4LzAJERlnY Y98tUI7KXdZAiRMEo0WsvWtoR49eIDBezLSfGF5xEl2QY8/rI7nHE1Ixu+sFJQ==
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)