Add force_xinerama configuration option

The configuration option does the same as the commandline parameter, except
it can be easily set by the user (e.g. you are using KDM and can't start a
session through ~/.xsession).

Signed-off-by: Michael Walle <michael@walle.cc>
This commit is contained in:
Michael Walle
2011-09-19 22:43:25 +02:00
committed by Michael Stapelberg
parent 0c51b57b99
commit 5aa43d61f8
4 changed files with 25 additions and 1 deletions

View File

@ -123,6 +123,16 @@ struct Config {
* more often. */
bool force_focus_wrapping;
/** By default, use the RandR API for multi-monitor setups.
* Unfortunately, the nVidia binary graphics driver doesn't support
* this API. Instead, it only support the less powerful Xinerama API,
* which can be enabled by this option.
*
* Note: this option takes only effect on the initial startup (eg.
* reconfiguration is not possible). On startup, the list of screens
* is fetched once and never updated. */
bool force_xinerama;
/** The default border style for new windows. */
border_style_t default_border;