On 29 September 2010 09:49, Bengt-Arne Fjellner wrote: >>> I think you can detect this situation (no access to the interactive >>> desktop >>> or whatever is it called), if you wished to issue a suitable error >>> message, >>> by checking that OpenInputDesktop() returns non-NULL... >> >> Good idea, and that does seem to do the job. >> >> Opening a window in that situation seems to work fine anyway though. I >> guess it goes to some hidden desktop. Can anyone think of a sensible >> use case for that, i.e. should I make this a warning rather than an >> error? >> > I have a feeling it could be useful someway. Why not a command switch: > --allow_null_desktop or something?
Because there's a good chance that no-one would ever need it. ;) I'll make this a warning (or possibly just leave it). Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple