From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16706 invoked by alias); 4 Nov 2013 17:35:51 -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 16666 invoked by uid 89); 4 Nov 2013 17:35:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: QMTA11.westchester.pa.mail.comcast.net Received: from Unknown (HELO QMTA11.westchester.pa.mail.comcast.net) (76.96.59.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Nov 2013 17:35:40 +0000 Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by QMTA11.westchester.pa.mail.comcast.net with comcast id lQEB1m0021YDfWL5BVbYb0; Mon, 04 Nov 2013 17:35:32 +0000 Received: from [192.168.1.6] ([68.48.245.107]) by omta20.westchester.pa.mail.comcast.net with comcast id lVbY1m00F2KlKfo3gVbYgX; Mon, 04 Nov 2013 17:35:32 +0000 Message-ID: <5277DADF.5060709@comcast.net> Date: Mon, 04 Nov 2013 17:35:00 -0000 From: Wendel Dean Renner User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: expose event not received by Open GL window in X11 application upon moving app window Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-11/txt/msg00004.txt.bz2 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. -- 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/