From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9348 invoked by alias); 24 Oct 2012 13:09:57 -0000 Received: (qmail 9168 invoked by uid 22791); 24 Oct 2012 13:09:56 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_05,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Oct 2012 13:09:51 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.1.103]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 24 Oct 2012 14:09:48 +0100 Message-ID: <5087E89C.1040508@dronecode.org.uk> Date: Wed, 24 Oct 2012 13:09:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: jsteed@gedae.com Subject: Re: How to disable focus stealing prevention in XWin Xorg Multi-Window References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2012-10/txt/msg00016.txt.bz2 On 18/10/2012 17:26, Jim Steed wrote: > I have an X windows program that uses multiple windows and has buttons > to bring up the other windows to the top. These buttons don't work > (have no effect) in the default settings of Cygwin's Xorg port due to > "focus stealing prevention." I'm afraid your diagnosis is incorrect. It's a long-standing defect in multiwindow mode that no attempt is made to synchronize changes in the X window Z-order (e.g. made by XRaiseWindow()) to the native Windows window Z-order. See, for example [1] for some discussion about why this isn't easy to fix. > I have a little background with this in Linux as I know the magic in > KDE to disable focus stealing prevention and get these buttons to > work. Is there a similar setting I can make to XWin Server's > startxwin.exe to disable this? > > I have noted that twm and WindowMaker do not prevent focus stealing, > and my program works fine in those window managers. However, for look > and feel, I would much prefer it to closer integrated into Microsoft > Windows with the multi-window approach. [1] http://cygwin.com/ml/cygwin-xfree/2011-08/msg00034.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/