🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.graphics
Article #9

Re: Accessing popup planes with Xlib

#9
From: dgordon
Date: Wed, 23 Dec 1992 11:49
28 lines
1771 bytes
Paul Olbrich <drew+@cs.cmu.edu> writes:

> I'm trying to open a window in the popup planes using
> Xlib calls.
> 
...
>
> However, in step 5, I get a BadMatch error.  I'm also setting
> "override_redirect" to True.  (I'm trying to make my own popup menus.)
> 
> Please please please someone help me.  What am I doing wrong?
> What else must I do?

I have a related problem.  I would like to create a popup menu in the
root window using mixed mode graphics but haven't been having much
luck.  Passing a value of GLX_NONE for the normal buffer to GLXgetconfig
(buffer = GLX_NORMAL, mode = GLX_BUFSIZE) does not have the desired
effect.  GLXlink still expects a window id for the normal buffer.  I
tried creating the normal window (leaving it unmapped) and making 
the popup window a child of the root.  Nothing happens - neither errors
nor visible effect when drawing to the popup window.  Also, creating the 
popup as a child of the normal window and reparenting to the root window
seems to have no effect.  Am I barking up the wrong tree?  Please, can 
anyone offer advice on how to do this?

____________________________________________________________________________
Dave Gordon                           		     dgordon@crow.omni.co.jp
Technical Details
Message-ID: <2517@titccy.cc.titech.ac.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!sh.wide!wnoc-tyo-news!cs.titech!titccy.cc.titech!necom830!dgordon
References: <BzG13z.Bp9.2@cs.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!sh.wide!wnoc-tyo-news!cs.titech!titccy.cc.titech!necom830!dgordon
From: dgordon@necom830.cc.titech.ac.jp
Newsgroups: comp.sys.sgi.graphics
Subject: Re: Accessing popup planes with Xlib
Message-ID: <2517@titccy.cc.titech.ac.jp>
Date: 23 Dec 92 11:49:43 GMT
References: <BzG13z.Bp9.2@cs.cmu.edu>
Sender: news@titccy.cc.titech.ac.jp
Followup-To: comp.sys.sgi.graphics
Organization: Algorithmic Arts
Lines: 29