• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X11 window appearance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 window appearance


  • Subject: Re: X11 window appearance
  • From: Eeri Kask <email@hidden>
  • Date: Tue, 01 Sep 2009 11:19:31 +0200

Am 08/31/2009 05:15 PM, Jeremy Huddleston schrieb:
>> How, in particular, does quartz-wm tell CoreGraphics to do that; is
>> there any sample code/documentation available; where to look for?
>
> Unfortunately not.  It's all internal API stuff (hence why I needed to
> wait for SnowLeopard to get the updated window look).


Pitifully I understand you effectively saying this CoreGraphics
shadow-draw-requesting API is not meant to be used by applications
created outside Apple?


> Actually, I lied to you (sorry).  We (X11 / libXplugin) *DO* have
> control over the shadow look... I just wasn't aware of that at the time.


There has to be some control indeed, as quartz-wm requests shadow
look change while transferring focus from client to client... and
'override_redirect' X11 clients, which quartz-wm apparently ignores
altogether, don't feature any drop-off shadow at all.


>> (Being that easy, then the spoken xcompmgr-like background-running
>> shadow-creator is probably not hard to implement at all --- if its
>> not done by somebody already; and would compensate for the missing
>> window borders at least for top-level windows in Xquartz.)
>
> Not exactly... xcompmgr is a huge beast that does a bunch of things that
> we do internally through the native windowing system.


Here is what I meant by the shadow-creator 'daemon':  catch
MapNotify, UnmapNotify, and maybe ConfigureNotify events for all
top-level X11-clients, and then ask CoreGraphics to put or remove
shadow around these. --- Initially I meant to suggest to extract
exactly this part from quartz-wm into a separate program, for
everybody's use, regardless if some window manager is running or
not.  :-)

(If Xquartz would support Xorg's XCOMPOSITE-extension, we probably
could take xcompmgr for that as it is, unchanged.)

    Eeri Kask


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)

This email sent to email@hidden

  • Follow-Ups:
    • Re: X11 window appearance
      • From: Jeremy Huddleston <email@hidden>
  • Next by Date: Re: equivalent xorg.conf?
  • Next by thread: Re: X11 window appearance
  • Index(es):
    • Date
    • Thread