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
> 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 th
On Tue, Apr 23, 2013 at 10:31 AM, Christophe Fergeau 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 "t
On Mon, Apr 22, 2013 at 11:08:30PM +0200, Marc-André Lureau wrote:
> 0ba6e2936 was trying to fix CreateDC() failing when the monitor is
> disabled, unfortunately, enabling monitor with an arbitrary resolution
> may still fail (the previous resolution, or the current one).
>
> This patch address th
ack. although the temp res change, it's still much better instead of the
quick&dirty patch i posted for 910634.
On 04/23/2013 12:08 AM, Marc-André Lureau wrote:
0ba6e2936 was trying to fix CreateDC() failing when the monitor is
disabled, unfortunately, enabling monitor with an arbitrary resolut
0ba6e2936 was trying to fix CreateDC() failing when the monitor is
disabled, unfortunately, enabling monitor with an arbitrary resolution
may still fail (the previous resolution, or the current one).
This patch address the issue by first trying the current resolution, and
falling back to a well-kn