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.
--
Marc-André Lureau
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel