Re: xv confused under quartz-wm?
Re: xv confused under quartz-wm?
- Subject: Re: xv confused under quartz-wm?
- From: Tom Lane <email@hidden>
- Date: Fri, 06 Feb 2009 20:31:45 -0500
- Comments: In-reply-to Tom Lane <email@hidden> message dated "Tue, 27 Jan 2009 21:33:01 -0500"
I wrote:
> Huh. That seems to be a true statement, which implies that xv's issue
> is really with not allowing for its own title bar, which is peculiar
> because I don't recall ever having this type of problem in all the years
> I used it on non-Mac X displays. Is it possible that quartz-wm handles
> the window title bar differently than other X window managers do?
After going back and experimenting, it seems that indeed xv didn't leave
room for window borders on my old systems either, but that this was
okay because you could have the title bar etc offscreen. I think that
this may have been an intentional choice to allow the displayed image
to be as big as possible. The reason it's a problem now is that OSX
won't let you push the title bar offscreen.
Anyway, it seems to do pretty much the right thing if you simply enable
the "VMS" code I mentioned before, ie
*** xvevent.c~ Tue Dec 21 18:41:12 1999
--- xvevent.c Fri Feb 6 19:55:05 2009
***************
*** 185,191 ****
int x,y,w,h;
Window win;
! #ifdef VMS
static int borders_sized = 0;
if (!borders_sized && !useroot && exp_event->window == mainW) {
--- 185,191 ----
int x,y,w,h;
Window win;
! #if 1
static int borders_sized = 0;
if (!borders_sized && !useroot && exp_event->window == mainW) {
Perhaps that code segment was actually meant to deal with a window
manager with similar won't-hide-the-title-bar behavior.
regards, tom lane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden