diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-22 13:57:05 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-22 13:57:05 -0400 |
commit | 5357ed08488d85df6e7433c6d4413bce5ab26049 (patch) | |
tree | 9b6d750a7b4bbc138e04e1a95d663b7802205aa3 /src-qt5/core/libLumina/LuminaRandR-X11.cpp | |
parent | Get the LuminaRandR framework able to enable/resize/move a monitor as requested. (diff) | |
download | lumina-5357ed08488d85df6e7433c6d4413bce5ab26049.tar.gz lumina-5357ed08488d85df6e7433c6d4413bce5ab26049.tar.bz2 lumina-5357ed08488d85df6e7433c6d4413bce5ab26049.zip |
Cleanup some debugging information.
Diffstat (limited to 'src-qt5/core/libLumina/LuminaRandR-X11.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaRandR-X11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaRandR-X11.cpp b/src-qt5/core/libLumina/LuminaRandR-X11.cpp index 8fcdbad0..214d908f 100644 --- a/src-qt5/core/libLumina/LuminaRandR-X11.cpp +++ b/src-qt5/core/libLumina/LuminaRandR-X11.cpp @@ -114,7 +114,7 @@ inline xcb_randr_mode_t modeForResolution(QSize res, QList<xcb_randr_mode_t> mod if(modes.contains(minfo.id)){ if(res.isNull() && (minfo.width > sz.width() || minfo.height > sz.height()) ){ //No resolution requested - pick the largest one - qDebug() << "Found Bigger Mode:" << sz << QSize(minfo.width, minfo.height); + //qDebug() << "Found Bigger Mode:" << sz << QSize(minfo.width, minfo.height); sz = QSize(minfo.width, minfo.height); det_mode = minfo.id; }else if(!res.isNull()){ @@ -212,7 +212,7 @@ bool OutputDevice::disable(){ bool OutputDevice::enable(QRect geom){ //if no geom provided, will add as the right-most screen at optimal resolution //if(this->isEnabled()){ return true; } //already enabled - qDebug() << "Enable Monitor:" << geom; + //qDebug() << "Enable Monitor:" << geom; xcb_randr_mode_t mode = modeForResolution(geom.size(), p_obj.modes); if(mode==XCB_NONE){ return false; } //invalid resolution for this monitor //qDebug() << " - Found Mode:" << mode; |