Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!kddlab!titcca!wnoc-tyo-news!sranha!hxrdgw!ishii From: ishii@hexard.co.jp (Koji Ishii) Newsgroups: comp.windows.x Subject: Re: XV doesn't work on Sunos4.1 running openwindows Message-ID: Date: 10 Jan 91 05:54:01 GMT References: <782@keele.keele.ac.uk> Sender: ishii@hexard.co.jp Organization: Hexard Inc., Tokyo, Japan. Lines: 43 In-reply-to: csd35@seq1.keele.ac.uk's message of 8 Jan 91 16:59:53 GMT In article <782@keele.keele.ac.uk> csd35@seq1.keele.ac.uk (Jonathan Knight) writes: > XV runs fine if olwm isn't running (just the server and XV). XV has codes in xv.c specially designed to work with bug in twm (as following comment says,) which seems harmful with olwm. Commenting out it works on my SPARC. *** xv.c~ Tue Dec 11 02:16:00 1990 --- xv.c Wed Jan 9 10:49:20 1991 *************** *** 1784,1793 **** --- 1784,1794 ---- xoff = yoff = xwa->border_width; } XMoveResizeWindow(theDisp, mainW, xwa->x, xwa->y, xwa->width, xwa->height); + #if 0 /* * all this bogus stuff is a work-around for weirdness in * twm where resize was giving 23 extra lines... * should do no harm if this bug is not present. */ *************** *** 1801,1810 **** --- 1802,1812 ---- } XResizeWindow(theDisp, mainW, xwa->width, xwa->height - (pxwa.height - xwa->height)); } + #endif } /***********************************/ -- ---------------------------------- Koji Ishii Hexard Inc., Tokyo, Japan.