aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaRandR.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-22 07:39:15 -0400
committerKen Moore <ken@ixsystems.com>2017-06-22 07:39:15 -0400
commite0af4239ffc9b1cb5ba3206a8d668977463daf02 (patch)
tree9e4c5fa38af09bd913d55ddf93012911de503488 /src-qt5/core/libLumina/LuminaRandR.h
parentGet the LuminaRandR class all finished up for *information purposes only*. (diff)
downloadlumina-e0af4239ffc9b1cb5ba3206a8d668977463daf02.tar.gz
lumina-e0af4239ffc9b1cb5ba3206a8d668977463daf02.tar.bz2
lumina-e0af4239ffc9b1cb5ba3206a8d668977463daf02.zip
Add enable/disable functionality to LuminaRandR (untested)
Diffstat (limited to 'src-qt5/core/libLumina/LuminaRandR.h')
-rw-r--r--src-qt5/core/libLumina/LuminaRandR.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaRandR.h b/src-qt5/core/libLumina/LuminaRandR.h
index 6175a9d0..0e806ba5 100644
--- a/src-qt5/core/libLumina/LuminaRandR.h
+++ b/src-qt5/core/libLumina/LuminaRandR.h
@@ -26,6 +26,7 @@
struct p_objects{
xcb_randr_output_t output; //This is the index used to identify particular monitors (unique ID)
+ xcb_randr_crtc_t crtc; //This is the index used for the current settings/configuration (associated with output)
//Cached Information
bool primary;
@@ -73,7 +74,7 @@ public:
//Modification
bool setAsPrimary(bool);
bool disable();
- void enable(QRect geom = QRect()); //if no geom provided, will add as the right-most screen at optimal resolution
+ bool enable(QRect geom = QRect()); //if no geom provided, will add as the right-most screen at optimal resolution
void changeResolution(QSize);
void changeGeometry(QRect); //move a currently-enabled screen to another place
bgstack15