From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5744 invoked by alias); 9 Nov 2014 20:17:00 -0000 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 Received: (qmail 5733 invoked by uid 89); 9 Nov 2014 20:16:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: out2-smtp.messagingengine.com Received: from out2-smtp.messagingengine.com (HELO out2-smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 09 Nov 2014 20:16:58 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 13EB2206B8 for ; Sun, 9 Nov 2014 15:16:55 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Sun, 09 Nov 2014 15:16:55 -0500 Received: from [192.168.1.102] (unknown [86.150.49.235]) by mail.messagingengine.com (Postfix) with ESMTPA id 8DFCDC00008; Sun, 9 Nov 2014 15:16:54 -0500 (EST) Message-ID: <545FCBB3.2050108@dronecode.org.uk> Date: Sun, 09 Nov 2014 20:17:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: "angelo.graziosi@alice.it >> Angelo Graziosi" Subject: Re: An issue with libX11? References: <545F8A73.6010206@alice.it> In-Reply-To: <545F8A73.6010206@alice.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-11/txt/msg00006.txt.bz2 On 09/11/2014 15:38, Angelo Graziosi wrote: > From another application I have an issue with libX11 which I can > reproduce with the following STC, I don't think this test case is well-formed. > int main() > { > dis = XOpenDisplay(NULL); > win = XCreateSimpleWindow(dis, RootWindow(dis, 0), 1, 1, 500, 500, > 0, BlackPixel (dis, 0), BlackPixel(dis, 0)); > > XMapWindow(dis, win); A 'XSelectInput(dis, win, KeyPress)' is needed here to tell the X server that this client wishes to receive KeyPress event.s > I am not an X11 expert, so it could be I am doing the wrong things but > the same code runs fine on OSX+XQuartz and GCC-4.9.1. I tried with XQuartz 2.7.8_beta1 and I couldn't reproduce that. -- 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/