From 0082d80c7617009cc86f7d69cbb525ae357eb079 Mon Sep 17 00:00:00 2001 From: Cimbali Date: Sat, 14 Oct 2017 11:50:32 +0200 Subject: [PATCH] Add warning for single-screen behaviour --- pympress/ui.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pympress/ui.py b/pympress/ui.py index 7820d22f..ae666925 100644 --- a/pympress/ui.py +++ b/pympress/ui.py @@ -304,6 +304,9 @@ def setup_screens(self): c_full = False p_full = False + if self.config.getboolean('presenter', 'start_fullscreen') or self.config.getboolean('content', 'start_fullscreen'): + logger.warning(_("Not starting content or presenter window full screen because there is only one monitor")) + p_bounds = screen.get_monitor_geometry(p_monitor) self.p_win.move(p_bounds.x, p_bounds.y) self.p_win.resize(p_bounds.width, p_bounds.height)