From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14462 invoked by alias); 4 Nov 2013 18:30:28 -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 14429 invoked by uid 89); 4 Nov 2013 18:30:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail-ee0-f48.google.com Received: from Unknown (HELO mail-ee0-f48.google.com) (74.125.83.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 04 Nov 2013 18:30:26 +0000 Received: by mail-ee0-f48.google.com with SMTP id d49so1310607eek.35 for ; Mon, 04 Nov 2013 10:30:17 -0800 (PST) X-Received: by 10.15.60.197 with SMTP id g45mr416683eex.103.1383589817409; Mon, 04 Nov 2013 10:30:17 -0800 (PST) Received: from [192.168.2.109] (p5DE47DBC.dip0.t-ipconnect.de. [93.228.125.188]) by mx.google.com with ESMTPSA id s3sm49810257eeo.3.2013.11.04.10.30.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Nov 2013 10:30:15 -0800 (PST) Message-ID: <5277E7AF.4020002@gmail.com> Date: Mon, 04 Nov 2013 18:30:00 -0000 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: expose event not received by Open GL window in X11 application upon moving app window References: <5277DADF.5060709@comcast.net> In-Reply-To: <5277DADF.5060709@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00005.txt.bz2 Il 11/4/2013 6:35 PM, Wendel Dean Renner ha scritto: > I have compiled and linked an existing X/Motif/Open GL program > under cygwin. So far the only problem I have seen is what happens > when I move the main application window. > > I have an array of drawing widgets in the main application window. > Where the drawing widget is strictly an X window, if I move the main > application window, the contents > continue to be visible without an expose event occuring (and so the > draw loop is not called). > > But in the Open GL drawing area window (using glx) the contents disappears > and one sees only the back ground color. There is no expose event > generated. If I click the mouse on the window, an expose even is generated > and it redraws. The same happens if I change the size of the window, but > covering and uncovering the window with say a cygwin term window > does not generate an expose event. Covering with a child of the > application > and uncovering does generate an expose event. > > The x window is created with the line > %RUN% XWin -multiwindow -clipboard -silent-dup-error -wgl > > where I added the -wgl flag. > Doing export LIBGL_ALWAYS_INDIRECT=1 before I run the application > does not make any difference. > I used a startxwin.bat script and modified it to run my application instead > of a xterm. That allowed for an icon on the desktop to run the bat program > to run the application. > > I also noted, like with Exceed, I cannot get a visual in the overlay > planes, > which I can do under Linux. I do not have glxinfo and can't figure out > what package has that. > > cygwin was downloaded an installed on a Windows 7 computer just > last week. The graphics card is an nvidia quadro fx 3800, driver > version 320.92 > On Performace Options: > Show window contents while dragging is unchecked. > > Background: > The program runs under Linux (was developedorginally under SGI IRIX) and > I have been using Exceed,Exceed 3D, and Exceed XDK from OpenText > (formally Hummingbird) to run on a Windows platform. > > I have only recented noted that OSF/Motif is now available with cygwin > as opposed to the prior LessTiff implementation of motif, as of Oct 2012 > evidently. > My X/Motif program would not run correctly with LessTiff because > of behavior differences where I was doing a lot of drawing widgets > attached > to the same place and managing and unmanaging them so that only one would > appear at a time, allowing the user to change the layout of the draw area > widgets. > > Thanks to any advice available. > it looks like this problem http://www.cygwin.com/ml/cygwin-xfree/2013-06/msg00050.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/