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@xxxxxxxxxx>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
Attachment:
pgp6RaNupepU2.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel