From: Mondragon, I. <ian...@ba...> - 2002-09-27 16:11:57
|
hmmm - sounds kinda familiar... IWMWindow contains an IWMTitlebar which contains IWMImages. :-) > -----Original Message----- > From: Chris B. Vetter [SMTP:cb...@kn...] > Sent: Friday, September 27, 2002 11:06 AM > To: int...@li... > Subject: Re: [Interfacewm-discuss] Implementation of spawned > windows... > > On Fri, 27 Sep 2002 10:44:56 -0500 > "Mondragon, Ian" <ian...@ba...> wrote: > > i've banged my face into this problem so many times i hate to think > > about it. the problem all boils down to this: > > the windowmanager places the decorations (titlebar, buttons, > > resizebar) on a client window & manages it. the NSWindow class > > drops hints to the windowmanager (via the motif hints) about > > what decorations should appear, because it assumes that a > > windowmanager (being a separate entity) is already running. > > translation: really bad chicken/egg situation. > > at one point i had been considering hacking the GNUstep source to make > > it all work, but it's just a big hairy mess. while poseAs: is just an > > evil concept, this does seem like the exact type of situation that it > > was designed for. > > thoughts? > > That's exactly where I got stuck too, actually. One thing I thought > about trying is to use a core window, referring to the actual X11 window > containing the 'context' and implementing title- and resizebar as an > NSWindow using NSImage for buttons, depending on the WMHints sent by > GNUstep (or application). > > -- > Chris > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Interfacewm-discuss mailing list > Int...@li... > https://lists.sourceforge.net/lists/listinfo/interfacewm-discuss |