Re: [hatari-devel] Question about mouse grab in DebugUI |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Hatari devel list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] Question about mouse grab in DebugUI
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Tue, 6 Aug 2024 17:18:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1722957498; bh=2IxReaWiVIXjIC9lGt0hWXY+csjGTNqZvo8i+UfCu5s=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=fziBGYMovj5cXeohh5CIPqksfHNDMM2MVJoZlH9QGWgzMp5jcLvL4ncuI4DuCzXnJ yP8DWm3KNszLLHgmv+Iqr7hYsh0/HJ5wkHfFVsELU5yAnLHFZs+D0P4FYcvZIsXTeS wAHj1iTaBYqfmtGBPED5YV86rEhbLgAXGVy79+MnirtcaGs44/rV+x3eVLHBzHfyXs R2d7xCnz7i5lwFuiQ6OSqZ+1e3MTvUb93r0IoP8owYEVylJEdeim7u7xqFbzvI+s+S 23zKTPMNwza1CaXlfwkk/tUToqT3qtk/+l65L0+6eS++JOjbLCgr4X4HHhFrS6GqLk bv+mgEc8j+uMw==
Btw. This is the only direct call of an SDL function in this file. We could also remove SDL.h from the headers after replacing the function.
> Am 06.08.2024 um 17:16 schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
>
> Hello all,
>
> I have a short question: in debugui.c, DebugUI() we call SDL_SetRelativeMouseMode(false) to ungrab the mouse. Shouldn’t this be Main_SetMouseGrab(false)?
>
> Regards,
> Andreas
>