Re: xv confused under quartz-wm?
Re: xv confused under quartz-wm?
- Subject: Re: xv confused under quartz-wm?
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 27 Jan 2009 18:16:52 -0800
On Jan 27, 2009, at 13:59, Tom Lane wrote:
Don Lanini <email@hidden> writes:
Does anyone still use xv for images? I've used it on a variety of
platforms since the 1980's but have found it slightly confused when
it
runs under OSX.
Hey, welcome to the dinosaurs club ;-)
I can confirm that xv seems to not know about the apple menu when it
does available-screen-space calculations. I assume the problem is the
apple menu and not the window borders, since the latter concept has
been around all along. I can't say that I find this real surprising;
probably the only way that it would work is if the apple menu were not
counted as part of the screen at all for X purposes. (But it's a fair
question to ask why that's not so. X apps don't get to use the menu
space.)
Assuming that anyone felt like hacking xv to fix this, what would the
appropriate thing be --- how *does* one find out the size of the apple
menu in X-land?
The apple menu bar is not part of the X11 screen. If you do 'xwininfo
-root', you will see the height reported is 22 pixels less than the
height of your display. The apple menu does not exist "in X-land", so
there's no real way to "figure it out"... although if you really
wanted to know, you could use Carbon or Cocoa calls to figure it out.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden