From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28101 invoked by alias); 7 Sep 2011 12:25:36 -0000 Received: (qmail 28084 invoked by uid 22791); 7 Sep 2011 12:25:35 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE 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, 07 Sep 2011 12:25:17 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.6]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 07 Sep 2011 13:25:15 +0100 Message-ID: <4E6762AA.6020802@dronecode.org.uk> Date: Wed, 07 Sep 2011 12:25:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20110817 Thunderbird/7.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: Paul Maier Subject: Re: Can't paste text or type blind keys when mouse is out of the window References: <000901cc54e1$1dca8c50$595fa4f0$@de> In-Reply-To: <000901cc54e1$1dca8c50$595fa4f0$@de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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: 2011-09/txt/msg00007.txt.bz2 On 07/08/2011 10:05, Paul Maier wrote: > when xterm has keyboard focus, but mouse pointer is outside of the window (or > even on Window's blue title bar): > > > - all blind keys are ignored: > > o instead of 'à' (key '`' then 'a') you get just a normal 'a' > > o can't type '^' character (on a German keyboard done with blind '^' key then space) > -> you will just get the space instead > > o same with '`' or '´': all blind keys are affected > > - can't paste text with the mouse > > - all other keys work as expected Thanks for reporting this issue and the clear reproduction step. I can reproduce this problem. I can also reproduce it under XWin in windowed mode with twm, but not on Xorg on Linux, so this seems to be XWin specific, but not related to multiwindow mode WM, which is a real puzzler. I assume that you see the same behavior with other X applications, i.e. it's not xterm-specific? > The XWin.logs are the same regardless if mouse is inside or outside, > but I notice a small difference in xev's output. Yes, it looks like the events are delivered to the top window of xterm's hierarchy when the mouse is on the non-client area of the window or the desktop, but to the bottom window of the xterm hierarchy when the mouse is over the xterm window. I also note that if you type a deadkey with the mouse in the client area, then move the mouse over the frame, type a key, it is passed straight though, then move the mouse back over the client area, and type a key, it is modified by the previous deadkey. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- 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/