aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-16 12:55:34 -0400
committerKen Moore <ken@ixsystems.com>2017-08-16 12:55:34 -0400
commitda9c5fa59b4f90b0041548962c61877379654a89 (patch)
tree658cef15ec443cf87c7f169c4d473a3444477eef /src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
parentAdd the option to save settings as the user's defaults. (diff)
downloadlumina-da9c5fa59b4f90b0041548962c61877379654a89.tar.gz
lumina-da9c5fa59b4f90b0041548962c61877379654a89.tar.bz2
lumina-da9c5fa59b4f90b0041548962c61877379654a89.zip
More updates for lumina-xconfig:
1) Unify the enable/disable routines.
Diffstat (limited to 'src-qt5/core-utils/lumina-xconfig/ScreenSettings.h')
-rw-r--r--src-qt5/core-utils/lumina-xconfig/ScreenSettings.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
index 0532cf72..9371e361 100644
--- a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
+++ b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h
@@ -19,13 +19,14 @@ class ScreenInfo{
bool isprimary;
bool isactive;
bool isavailable;
- int order; //left to right
+ int applyChange; //[<=0: do nothing, 1: deactivate]
QStringList resList;
int rotation; //possible values: [-90, 0, 90, 180]
+
//Initial Defaults
ScreenInfo(){
- order = -1; //initial value is invalid
+ applyChange = -1; //initial value is invalid
isprimary = false;
isactive = false;
isavailable = false;
bgstack15