From 90b9fa360835dc607f2a130871c5d7e8d63a96e3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 4 Sep 2013 23:43:25 +0000 Subject: fix [#36459] Official blenderplayer can not go fullscreen on Linux use modified patch from Alex Fraser (z0r) --- intern/ghost/SConscript | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'intern/ghost/SConscript') 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'): -- cgit v1.2.3