Skip to content

Commit

Permalink
Add warning for single-screen behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
Cimbali committed Oct 14, 2017
1 parent 2b4b47b commit 0082d80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pympress/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0082d80

Please sign in to comment.