Changeset View
Changeset View
Standalone View
Standalone View
backends/xrandr/xrandrconfig.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 54 | private: | |||
---|---|---|---|---|---|
55 | QSize screenSize(const KScreen::ConfigPtr &config) const; | 55 | QSize screenSize(const KScreen::ConfigPtr &config) const; | ||
56 | bool setScreenSize(const QSize &size) const; | 56 | bool setScreenSize(const QSize &size) const; | ||
57 | 57 | | |||
58 | void setPrimaryOutput(xcb_randr_output_t outputId) const; | 58 | void setPrimaryOutput(xcb_randr_output_t outputId) const; | ||
59 | 59 | | |||
60 | bool disableOutput(const KScreen::OutputPtr &output) const; | 60 | bool disableOutput(const KScreen::OutputPtr &output) const; | ||
61 | bool enableOutput(const KScreen::OutputPtr &output) const; | 61 | bool enableOutput(const KScreen::OutputPtr &output) const; | ||
62 | bool changeOutput(const KScreen::OutputPtr &output) const; | 62 | bool changeOutput(const KScreen::OutputPtr &output) const; | ||
63 | bool replicateOutput(const KScreen::OutputPtr &output) const; | | |||
64 | 63 | | |||
65 | bool sendConfig(const KScreen::OutputPtr &kscreenOutput, XRandRCrtc *crtc) const; | 64 | bool sendConfig(const KScreen::OutputPtr &kscreenOutput, XRandRCrtc *crtc) const; | ||
66 | 65 | | |||
67 | /** | 66 | /** | ||
68 | * We need to print stuff to discover the damn bug | 67 | * We need to print stuff to discover the damn bug | ||
69 | * where currentMode is null | 68 | * where currentMode is null | ||
70 | */ | 69 | */ | ||
71 | void printConfig(const KScreen::ConfigPtr &config) const; | 70 | void printConfig(const KScreen::ConfigPtr &config) const; | ||
72 | void printInternalCond() const; | 71 | void printInternalCond() const; | ||
73 | 72 | | |||
74 | XRandROutput::Map m_outputs; | 73 | XRandROutput::Map m_outputs; | ||
75 | XRandRCrtc::Map m_crtcs; | 74 | XRandRCrtc::Map m_crtcs; | ||
76 | XRandRScreen *m_screen; | 75 | XRandRScreen *m_screen; | ||
77 | }; | 76 | }; |