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:
parent
7f18a5826e
commit
755d8aa290
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529043
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= dosbox
|
||||
DISTVERSION= 0.74-3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
|
||||
|
||||
|
11
emulators/dosbox/files/patch-src_gui_sdlmain.cpp
Normal file
11
emulators/dosbox/files/patch-src_gui_sdlmain.cpp
Normal 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
|
Loading…
Reference in New Issue
Block a user