Created attachment 212589 [details] svn diff With newer X.org version it was impossible to lock the mouse in a windowed dosbox. This has been discussed on vogons.org[1] and was fixed in dosbox for Linux. I have verified that the same workaround fixes in FreeBSD. The attached patch enables the workaround for FreeBSD. [1]: https://www.vogons.org/viewtopic.php?f=31&t=62703 * poudriere testport: ok
I looked through the patch and the Vogons topic, it looks good to me. It would be better if they fix this upstream but releases are sporadic enough that this is worth adding until that happens.
A commit references this bug: Author: fernape Date: Tue Mar 24 11:21:53 UTC 2020 New revision: 529043 URL: https://svnweb.freebsd.org/changeset/ports/529043 Log: emulators/dosbox: enable mouse locking with X.org newer than 1.20 References: https://www.vogons.org/viewtopic.php?f=31&t=62703 PR: 244960 Submitted by: tobias.rehbein@web.de Reviewed by: knyght@gmail.com (maintainer) Changes: head/emulators/dosbox/Makefile head/emulators/dosbox/files/patch-src_gui_sdlmain.cpp
Committed, Thanks!