summaryrefslogtreecommitdiffstats
path: root/src/x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/x.h')
-rw-r--r--src/x.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/x.h b/src/x.h
index 4e2265e..855a05c 100644
--- a/src/x.h
+++ b/src/x.h
@@ -43,7 +43,19 @@ namespace X
typedef QMap<RROutput,Output*> OutputMap;
int applyChanges();
+ void createMode(
+ unsigned int resX,
+ unsigned int resY,
+ unsigned long dotClock,
+ unsigned int hSyncStart,
+ unsigned int hSyncEnd,
+ unsigned int hTotal,
+ unsigned int vSyncStart,
+ unsigned int vSyncEnd,
+ unsigned int vTotal,
+ QString name);
void revertChanges();
+ void updateScreenResources();
// Getters
inline const Display* display() const {return _display;}
@@ -90,7 +102,7 @@ namespace X
struct Mode : public XElement
{
- Mode(XRRModeInfo* = NULL);
+ Mode(XRRModeInfo* = NULL);
// Xlib internal stuff
QSize _resolution;