diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-05 03:43:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-05 03:43:25 +0400 |
commit | 90b9fa360835dc607f2a130871c5d7e8d63a96e3 (patch) | |
tree | fda04a65c18aa02b043c1c1935966dd652259fc0 /intern | |
parent | b9b806e0a0d9f6a6f15b260cb750eb4267abd261 (diff) |
fix [#36459] Official blenderplayer can not go fullscreen on Linux
use modified patch from Alex Fraser (z0r)
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/SConscript | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript index e48e4ee6b96..d1ecc5e8c13 100644 --- a/intern/ghost/SConscript +++ b/intern/ghost/SConscript @@ -75,7 +75,12 @@ elif window_system in ('linux', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'f ## So until this is supported properly as with CMake, ## just dont use the PREFIX. # defs += ['PREFIX=\\"/usr/local/\\"'] # XXX, make an option - defs += ['WITH_X11_XINPUT'] # XXX, make an option + if env['WITH_X11_XINPUT']: + defs += ['WITH_X11_XINPUT'] + + if env['WITH_X11_XF86VMODE']: + #incs += env['X11_xf86vmode_INCLUDE_PATH'] + defs += ['WITH_X11_XF86VMODE'] # freebsd doesn't seem to support XDND protocol if env['WITH_GHOST_XDND'] and window_system not in ('freebsd7', 'freebsd8', 'freebsd9'): |