]> git.mxchange.org Git - flightgear.git/commit
Disable screensaver: initial Linux-only implementation
authorRebecca Palmer <R.Palmer@bham.ac.uk>
Mon, 9 Dec 2013 00:13:44 +0000 (00:13 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 15 Dec 2013 21:18:22 +0000 (21:18 +0000)
commitbf1fe65bc51a60b13fbfcc1d48582695a277fc8f
treeaf3aec7abb47d2738510d2889b9431139f8cec98
parentb3534ff8c26b9963cbed56f6aab186f166c58b73
Disable screensaver: initial Linux-only implementation

Add a function fgOSDisableScreensaver() that attempts to disable the
screensaver (currently only succeeding on Linux), and call it on startup.

CMake option USE_DBUS (on by default), requires libdbus-1

Motivation: most screensavers do not monitor the joystick
https://bugs.launchpad.net/ubuntu/+source/flightgear/+bug/793599

Discussion: http://sourceforge.net/p/flightgear/mailman/message/31717061/
CMakeLists.txt
src/Include/config_cmake.h.in
src/Main/CMakeLists.txt
src/Main/main.cxx
src/Main/screensaver_control.cxx [new file with mode: 0644]
src/Main/screensaver_control.hxx [new file with mode: 0644]