X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4CA2FDAD.8040100@ltu.se> References: <4CA1C204 DOT 6090405 AT epfl DOT ch> <4CA1C3EE DOT 1030204 AT ece DOT cmu DOT edu> <4CA1EFC6 DOT 6030202 AT dronecode DOT org DOT uk> <4CA2FDAD DOT 8040100 AT ltu DOT se> Date: Thu, 30 Sep 2010 20:12:39 +0100 Message-ID: Subject: Re: mintty window won't open From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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