summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-10-18 13:45:15 +0200
committerQC <qball@gmpclient.org>2015-10-18 13:45:15 +0200
commit73fd87f82046ea804fe5bd0b492da6b60d23b4dd (patch)
tree80cf2a5a91a8df7bb5c6cbb5d2726c16a5856b67 /source/helper.c
parent93b6b83fb9fc1add7ebc781c7df20e005352acfb (diff)
Add mesg about fullscreen and monitor setup
Diffstat (limited to 'source/helper.c')
-rw-r--r--source/helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/helper.c b/source/helper.c
index 2d6956f1..0795bdfe 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -573,6 +573,12 @@ void config_sanity_check ( Display *display )
found_error = 1;
}
}
+ if ( config.fullscreen && config.monitor != -1 ) {
+ g_string_append_printf ( msg, "\t<b>config.monitor</b>=%d is invalid. Value should be unset (-1) when fullscreen mode is enabled.\n",
+ config.monitor);
+ config.monitor = -1;
+ found_error = 1;
+ }
// Check size
{