From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57295 invoked by alias); 20 Jun 2017 13:24:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 5643 invoked by uid 89); 20 Jun 2017 13:24:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=subscribed, H*UA:Zimbra, H*x:Zimbra, H*M:zimbra X-HELO: mail.directv.net Received: from mail.directv.syn-alias.com (HELO mail.directv.net) (69.168.102.197) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Jun 2017 13:24:04 +0000 X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=bI9UG72Z c=1 sm=1 tr=0 a=gkr92+TDWFCjREVjUUSd6w==:117 a=FKkrIqjQGGEA:10 a=Btlz7KfKt3UA:10 a=IkcTkHD0fZMA:10 a=y96IMVmcpggA:10 a=qZeWgD9B8m1ZqdQtUVEA:9 a=gMAoj7RWFeFiZISm:21 a=yZaByooqC2az4_Jm:21 a=QEXdDO2ut3YA:10 X-CM-Score: 0 X-Authed-Username: bWljay5wZWFyc29uQHdpbGRibHVlLm5ldA== Received: from [10.201.70.4] ([10.201.70.4:60716] helo=md07.viasat.aga.synacor.com) by smtp.directv.net (envelope-from ) (ecelerity 3.6.6.45965 r(Core:3.6.6.0)) with ESMTP id 41/B3-16227-2F129495; Tue, 20 Jun 2017 09:24:02 -0400 Date: Tue, 20 Jun 2017 13:24:00 -0000 From: Mick Pearson To: cygwin@cygwin.com Message-ID: <446686543.160825905.1497965042546.JavaMail.zimbra@wildblue.net> In-Reply-To: <396829209.160817565.1497964511987.JavaMail.zimbra@wildblue.net> Subject: X: wglMakeCurrent error: 0006 on XUnmapWindow->XMapWindow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-06/txt/msg00242.txt.bz2 I was asked by the freeglut mailing list to alert the X/Cygwin team to problems with the WGL context handles becoming invalid if a window is hidden and then the error in the subject is out putted when the window is revealed again. There are also issues with iconification, where the windows are in need of repainting when restored. But when unmapped they lose their WGL context, meaning that OpenGL textures are probably lost and the context is inoperable, which is a whole other class of problems. The freeglut developer Chris Marshal confirmed this experience. There is a resizer.exe demo in the freeglut development package that demonstrates both problems. In GLUT the problem presents itself when doing glutHideWindow and then glutShowWindow. Which is not the same as XIconfiyWindow. I hope this is a temporary development and not the state of X on Cygwin. I found Xming to supplement the X server. I spent a couple afternoons attempting to determine the root of the problem. I thought perhaps the backing-store fields needed to be set, but it became clear that most X servers are simply very lenient and most clients expect them to be, and that there's most likely oversights in Cygwin/X in the direct rendering mode with WGL. P.S. I have not subscribed to the Cygwin mailing list. You know if I receive a CC, but I'm just throwing this out. It may well not be the first report. Thank you :) -- As with mail, anyone who wishes may send email from your email address. In the case you receive obscene or unusual email from an address with which you are familiar. It could be someone is impersonating that email address. Always return a copy of the email to the sender for review and response. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple