[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [libkscreen] backends/xrandr: Fetch and set the type where id is set (static properties)
From:       Àlex_Fiestas <afiestas () kde ! org>
Date:       2013-04-30 18:47:06
Message-ID: 20130430184706.94195A603F () git ! kde ! org
[Download RAW message or body]

Git commit 422a859843aa200d53fef8f7e5bd12e1bbfb7ac6 by Àlex Fiestas.
Committed on 30/04/2013 at 20:46.
Pushed by afiestas into branch 'master'.

Fetch and set the type where id is set (static properties)

M  +2    -0    backends/xrandr/xrandroutput.cpp

http://commits.kde.org/libkscreen/422a859843aa200d53fef8f7e5bd12e1bbfb7ac6

diff --git a/backends/xrandr/xrandroutput.cpp b/backends/xrandr/xrandroutput.cpp
index ed2b163..f17415d 100644
--- a/backends/xrandr/xrandroutput.cpp
+++ b/backends/xrandr/xrandroutput.cpp
@@ -45,6 +45,7 @@ XRandROutput::XRandROutput(int id, bool primary, XRandRConfig *config)
     XRROutputInfo *outputInfo = XRandR::XRROutput(m_id);
     updateOutput(outputInfo);
     updateModes(outputInfo);
+    fetchType();
     m_primary = primary;
 
     XRRFreeOutputInfo(outputInfo);
@@ -326,6 +327,7 @@ KScreen::Output *XRandROutput::toKScreenOutput(KScreen::Config *parent) const
 
     m_changedProperties = 0;
     kscreenOutput->setId(m_id);
+    kscreenOutput->setType(m_type);
     updateKScreenOutput(kscreenOutput);
 
     return kscreenOutput;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic