1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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)
This commit is contained in:
Fernando Apesteguía 2020-03-24 11:21:52 +00:00
parent 7f18a5826e
commit 755d8aa290
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529043
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= dosbox
DISTVERSION= 0.74-3
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}

View File

@ -0,0 +1,11 @@
--- src/gui/sdlmain.cpp.orig 2020-03-21 19:17:13 UTC
+++ src/gui/sdlmain.cpp
@@ -1433,7 +1433,7 @@ void GFX_LosingFocus(void) {
#define DB_POLLSKIP 1
#endif
-#if defined(LINUX)
+#if defined(LINUX) || defined(BSD)
#define SDL_XORG_FIX 1
#else
#define SDL_XORG_FIX 0