Re: [Xquartz-dev] XQuartz 2.5.0_rc1
Re: [Xquartz-dev] XQuartz 2.5.0_rc1
- Subject: Re: [Xquartz-dev] XQuartz 2.5.0_rc1
- From: Brandon Allbery <email@hidden>
- Date: Wed, 17 Mar 2010 22:31:07 -0400
On Mar 17, 2010, at 19:56 , Jeremy Huddleston wrote:
Uhm... are you kidding? This support was added quite some time
ago. It was buggy for a while, but it has been working for quite
some time. This is the whole reason for the XP_EVENT_DISPLAY_CHANGED
I specifically recall asking about this and getting an "I don't see
the point" answer back from you. Now I'm wondering what you thought I
was talking about.
it would be nice if monitor changes were passed on as XRandR
extension events, but right now the X session isn't informed of any
changes and you need to restart XQuartz to get it to see the change.
That's not completely true. We don't support RandR, but clients are
free to query the screen at any time.
...guess that answers *that* question.
Modern X11 clients expect to receive XRandR events for this.
Otherwise you need to register interest in root window Reconfigure
events, and (aside from that only being made available after XRandR
was implemented, due to fear that changing root window sizes would
confuse existing programs) that is only partially useful for the case
of programs wanting to know the actual screen configuration (which I
assume XQuartz isn't doing, but it's what people expect to work with;
root window sizes are disrecommended on other platforms) so the vast
majority of programs that care use XRandR.
In short, programs that want to support OSX are apparently expected to
use a mechanism that on other platforms one is told to use XRandR
for. This seems unfortunate at best.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] email@hidden
system administrator [openafs,heimdal,too many hats] email@hidden
electrical and computer engineering, carnegie mellon university KF8NH
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden