From 32f5033a4dd385a69b376a753ac3fddd97740a9a Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 30 Aug 2016 20:38:31 +0200 Subject: [PATCH] Add a displayIndex setting to the video settings This setting will control on which display the game window will be shown. --- config/schemas/settings.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/schemas/settings.json b/config/schemas/settings.json index fccc17f74..78ad824ed 100644 --- a/config/schemas/settings.json +++ b/config/schemas/settings.json @@ -45,7 +45,7 @@ "type" : "object", "additionalProperties" : false, "default": {}, - "required" : [ "screenRes", "bitsPerPixel", "fullscreen", "spellbookAnimation","driver", "showIntro" ], + "required" : [ "screenRes", "bitsPerPixel", "fullscreen", "spellbookAnimation","driver", "showIntro", "displayIndex" ], "properties" : { "screenRes" : { "type" : "object", @@ -77,6 +77,10 @@ "type" : "string", "default" : "opengl", "description" : "preferred graphics backend driver name for SDL2" + }, + "displayIndex" : { + "type" : "number", + "default" : 0 } } },