Re: gedit runtime error
Re: gedit runtime error
- Subject: Re: gedit runtime error
- From: Brandon Allbery <email@hidden>
- Date: Wed, 19 Nov 2008 11:36:11 -0500
On 2008 Nov 19, at 1:38, Jeremy Huddleston wrote:
On Nov 18, 2008, at 22:28, Brandon Allbery wrote:
On 2008 Nov 19, at 1:01, Jeremy Huddleston wrote:
On Nov 18, 2008, at 15:35, Brandon Allbery wrote:
not to mention adapting if the OSX monitor(s) are reconfigured
(without XRandR, X11 is incapable of handling size changes).
Uhm... that's not true. We do reconfigure correctly when monitors
are reconfigured (and have since sometime around 2.2.2 I think).
And X clients find out about this how? That's the main reason for
XRandR: without it, the display configuration determined at
XOpenDisplay() time can't be changed (neither are there appropriate
events nor does xcb/xlib update its internal structures).
It doesn't need to. If an app wants to know the size of the root
window, it should query it if XRandR is not available. If XRandR is
available, then it is told on change... so code should look like:
Unfortunately, last I checked that didn't update XLib's cached
information (the reason why resize didn't work before XRandR).
--
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden