diff options
author | Steffen Ritter | 2016-11-10 17:14:02 +0100 |
---|---|---|
committer | Steffen Ritter | 2016-11-10 17:14:02 +0100 |
commit | ef13cf1489d7ce9d015d5e761e48bd476c9b6cd1 (patch) | |
tree | 189ec6543c8ee3a9dfa4161c03214c47678a5284 /src/widget.h | |
parent | Stay on top (diff) | |
download | beamergui-ef13cf1489d7ce9d015d5e761e48bd476c9b6cd1.tar.gz beamergui-ef13cf1489d7ce9d015d5e761e48bd476c9b6cd1.tar.xz beamergui-ef13cf1489d7ce9d015d5e761e48bd476c9b6cd1.zip |
Fix beamer detection in clone mode for some cases
* clone mode is now detected by checking if x starts at upper left
corner for all crtcs. Not only if the reported width/height is 0
* treat the output with the largest diagonale as beamer if no
output has a width/height of 0
Diffstat (limited to 'src/widget.h')
-rw-r--r-- | src/widget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widget.h b/src/widget.h index a737412..31b9a95 100644 --- a/src/widget.h +++ b/src/widget.h @@ -43,6 +43,7 @@ public: private: void timeout(); void updateScreenResources(); + bool cloneMode(); Ui::Widget * _ui; Display* _display; |