X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:in-reply-to:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=dL45td6aKVf1T3jb06fx/8MSv6b06uHg+Tuzv+cu27LwLFSyATFuw BdXTI0S9sTjl1UDxLO7HpHsZNwoE1wkoFVS6QDYfCUDTDA/nxi54GHm/Gn3VrdgB rn/lrWojzY+yhkZiQwSL0tsq1CrVCpHyvJWxLhB6uIErfabO4zEpIc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:message-id:in-reply-to:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=oWyTocK0ScFlXQfzc538N1Ygbt8=; b=IdUfhYjQES07ulfKztvlStFy7Uyp Aw77TNLlrnDX/fdZJ66djTZ4LxLCfjfTC58qlp+dkxSfOiNczghV/FmJXmLBILB7 OmZYSRqsXqCDWxIWgWP4fSblKoXC2k8roBMQYiZ1/THC1TYzpi2vxDlOLqzLAwku 30ul7BE+Gd22ilk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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== Date: Tue, 20 Jun 2017 09:24:02 -0400 (EDT) From: Mick Pearson To: cygwin AT cygwin DOT 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 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