diff options
Diffstat (limited to 'krandr/libkrandr.h')
-rw-r--r-- | krandr/libkrandr.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/krandr/libkrandr.h b/krandr/libkrandr.h index 352d821c0..a56f46daa 100644 --- a/krandr/libkrandr.h +++ b/krandr/libkrandr.h @@ -179,8 +179,9 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay /** * Applies the systemwide display configuration screenInfoArray from the specified profile * If profilename is empty, the default profile is utilized + * Returns the offset of the primary screen's top left corner */ - void applySystemwideDisplayConfiguration(TQString profilename, TQString kde_confdir); + TQPoint applySystemwideDisplayConfiguration(TQString profilename, TQString kde_confdir); /** * Applies the systemwide display configuration screenInfoArray to the hardware @@ -195,6 +196,11 @@ class KRANDR_EXPORT KRandrSimpleAPI : public RandRDisplay void destroyScreenInformationObject(TQPtrList<SingleScreenData> screenInfoArray); /** + * Returns the offset of the primary screen's Top Left Corner + */ + TQPoint primaryScreenOffsetFromTLC(TQPtrList<SingleScreenData> screenInfoArray); + + /** * Ensures that the data contained within screenInfoArray is self consistent */ void ensureMonitorDataConsistency(TQPtrList<SingleScreenData> screenInfoArray); |