summaryrefslogtreecommitdiffstats
path: root/src/xprivate.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-01-02 18:08:31 +0100
committerSimon Rettberg2019-01-02 18:08:31 +0100
commit191b44a3b202626d0a96202a3be75050375b625d (patch)
tree6736ce60f121c3161011703de354a2008cdbc7e7 /src/xprivate.h
parentDon't skip over the 4 descriptors in base EDID block (diff)
downloadbeamergui-191b44a3b202626d0a96202a3be75050375b625d.tar.gz
beamergui-191b44a3b202626d0a96202a3be75050375b625d.tar.xz
beamergui-191b44a3b202626d0a96202a3be75050375b625d.zip
Also handle special EDID case for init GUI
Diffstat (limited to 'src/xprivate.h')
-rw-r--r--src/xprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xprivate.h b/src/xprivate.h
index 3bc6067..c7ef29b 100644
--- a/src/xprivate.h
+++ b/src/xprivate.h
@@ -50,7 +50,7 @@ public:
void addMissingModesFromExtBlock(XRRScreenResources *res, RROutput outputId, unsigned char *data);
void addMissingModesFromDtd(XRRScreenResources *res, RROutput outputId, unsigned char *data);
void disconnectAllCrtcs();
- XRRModeInfo* getPreferredMode(OutputInfo *oi, XRRModeInfo *fallback = nullptr) const;
+ XRRModeInfo* getPreferredMode(const OutputInfo *oi, XRRModeInfo *fallback = nullptr) const;
void setScreenSize(const QSize &size);
RRMode getOutputModeForResolution(const XRROutputInfo *output, unsigned int width, unsigned int height) const;
RRMode getOutputModeForResolution(const XRROutputInfo *output, const QSize &resolution) const;