XAppleWMFrameDraw(), CoreGraphics, TWM
XAppleWMFrameDraw(), CoreGraphics, TWM
- Subject: XAppleWMFrameDraw(), CoreGraphics, TWM
- From: Eeri Kask <email@hidden>
- Date: Mon, 08 Aug 2011 08:24:53 +0200
Hello,
Sorry for the huge attachment; over the weekend I edited the source
code files of a popular window manager and added AppleWM support so
the window titlebars' appearance visually better integrates into the
overall Aqua GUI style on MacOSX, otherwise not affecting all its
powerful features. In this regard I discovered some questions, if
somebody savvy in XQuartz/AppleWM/Xplugin internals would shade some
light it would be very great/helpful. :-)
(1) In fact all was needed is the XAppleWMFrameDraw() function;
though it seems /usr/X11/include/X11/extensions/applewm.h and
/opt/X11/include/X11/extensions/applewm.h differ significantly in
dealing with necessary parameters for this function, e.g.
'frame_class' and 'frame_attr'. The /opt/... variant says to look
for the value definitions in the Xplugin header, the man-page seems
treating constants 'AppleWMFrameClassDocument',
'AppleWMFrameActive', etc as part of the X-server extension protocol
apparently, and not part of some Xplugin library API. It seems
either the refactoring of AppleWM/Xplugin is work-in-progress, or
otherwise how using of these constants is supposed to look like?
(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?
Curiously,
Eeri Kask
Attachment:
MacTWMscreenshot.png
Description: PNG image
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden