Re: XAppleWMFrameDraw(), CoreGraphics, TWM
Re: XAppleWMFrameDraw(), CoreGraphics, TWM
- Subject: Re: XAppleWMFrameDraw(), CoreGraphics, TWM
- From: Jeremy Huddleston <email@hidden>
- Date: Sat, 29 Oct 2011 15:03:26 -0700
Since you're using TWM for decoration, you don't really need to set those classes. I'm not sure what you're trying to gain by using AppleWM. Can you explain why you want to use XAppleWMFrameDraw,
Thanks.
On Oct 29, 2011, at 11:38, Eeri Kask wrote:
> On 08/08/2011 08:37 PM, Jeremy Huddleston wrote:
>>> (2) What good purpose does the 'XAppleWMNotifyEvent'
>>> (AppleWMControllerNotify, AppleWMActivationNotify, etc) offer?
>>> How to use the XAppleWMSelectInput() function? Is it supposed to
>>> work like XSelectInput()? Are these notify-events meant to be
>>> utilised by a WM at all?
>>
>> Yes. It serves to pass along notifications from non-X11 sources for close, minimize, zoom, hide, and various other notifications that quartz-wm wants to know about. My advise to you at this point is to take a look in the server for what sends out those notifications and that'll hopefully help you understand them better.
>>
>> Chances are you won't need all of them, and if you find you need one that isn't there, we can always add it to the protocol.
>
>
> Hello Jeremy,
>
> I am stuck again, needing help in removing the "X"-logo and the
> three grey buttons from the TWM menus as depicted in the attached
> cropped screenshot; they don't look very great.
>
> The recent Xplugin only supports
>
> XP_FRAME_CLASS_DECOR_LARGE
> XP_FRAME_CLASS_DECOR_SMALL
> XP_FRAME_CLASS_DECOR_NONE
>
> and then
>
> XP_FRAME_CLASS_BEHAVIOR_MANAGED
> XP_FRAME_CLASS_BEHAVIOR_TRANSIENT
> XP_FRAME_CLASS_BEHAVIOR_STATIONARY
>
>
> I configured TWM-managed client windows with
>
> (XP_FRAME_CLASS_DECOR_LARGE | XP_FRAME_CLASS_BEHAVIOR_MANAGED)
>
> and the TWM own titled menu windows with
>
> (XP_FRAME_CLASS_DECOR_SMALL | XP_FRAME_CLASS_BEHAVIOR_TRANSIENT)
>
>
> I was thinking transient windows are transient, i.e. very short in
> duration, so they would not need these knobs, but this assumption
> was apparently wrong. Anyways, how to get rid of them? :-)
>
> Does quartz-wm use menus? How the are implemented by Xplugin?
>
> How about the idea to put the X-logo and the three grey knobs onto
> "BEHAVIOR_MANAGED" windows, and let "BEHAVIOR_TRANSIENT" windows blank?
>
> *****
>
> Further, we still have problems with X11-window borders, now in
> particular if borders have pixmaps set. It appears if not using
> "XAppleWMFrameDraw()" altogether, everything is fine, i.e. borders
> are OK in every sense (pixmapped or simply coloured). If I activate
> "XAppleWMFrameDraw()", window borders are OK as long as I only use a
> coloured border; pixmapped borders are painted kind of "transparent".
>
> Just as a sidenote; the old, XFree86-variant of the X11-server under
> Tiger has borders OK even if they are pixmapped while using
> "XAppleWMFrameDraw()".
>
>
> (There are other issues too regarding "XAppleWMFrameDraw()" and the
> XShape extension particularly, but these above seem most urgent in
> the moment.)
>
> P.S. I havent' yet tested the recent advertised X11-server, maybe
> some of the issues above are fixed there?
>
> Greetings,
>
> Eeri Kask
>
> <TWM-mainmenu-crop.png> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden