[Spice-devel] [PATCH win-agent] Try harder to enable monitors

Christophe Fergeau cfergeau at redhat.com
Tue Apr 23 03:24:38 PDT 2013


On Tue, Apr 23, 2013 at 11:35:25AM +0200, Marc-André Lureau wrote:
> On Tue, Apr 23, 2013 at 10:31 AM, Christophe Fergeau <cfergeau at redhat.com>wrote:
> 
> > Isn't it possible to do that where the "attach" was before in case the
> > screen is off? If we know the screen is off, there is not much point in
> > trying the CreateDC as this will fail.
> >
> 
> I don't know what can give information about "the screen is off", it seems
> more straightforward, less racy and handle more cases to just try to
> createdc() and deal with failure.

I don't think this is less racy, nor that this is more straightforward, but
ACK from me if you prefer this way.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130423/141bae35/attachment.pgp>


More information about the Spice-devel mailing list