[Kde-hardware-devel] Review Request 108351: Update outputs connected to an updated CRTC

Àlex Fiestas afiestas at kde.org
Sat Jan 12 15:44:18 UTC 2013



> On Jan. 11, 2013, 11:55 p.m., Dan Vrátil wrote:
> > Regarding the 'primary' update, I was considering a different approach than just a bool, possibly an enum { SetPrimary, UnsetPrimary, NoChange } so that you could call XRandROutput::update(NoChange) from crtcChanged() and XRandROutput::update((output == primary) ? SetPrimary : UnsetPrimary) from outputChanged(). I'll try to do this during weekend before tagging :-)

Well, since this is internal api we shouldn't bikeshed on it.


- Àlex


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108351/#review25265
-----------------------------------------------------------


On Jan. 11, 2013, 3:43 p.m., Àlex Fiestas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108351/
> -----------------------------------------------------------
> 
> (Updated Jan. 11, 2013, 3:43 p.m.)
> 
> 
> Review request for Solid and Dan Vrátil.
> 
> 
> Description
> -------
> 
> Basically call XRandR::updateOutput(RROUtput) on every XRandR::updateCrtc(RRCrtc)
> 
> This is a little bit inneficient since we don't have a way of updating an output without checking if the primary screen changed (that can't happen in a crtc update) but anyway a minor thing imho.
> 
> 
> Diffs
> -----
> 
>   backends/xrandr/xrandr.cpp 0113671 
> 
> Diff: http://git.reviewboard.kde.org/r/108351/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Àlex Fiestas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20130112/ceeee1c6/attachment.html>


More information about the Kde-hardware-devel mailing list