[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#104108: geometry border padding



On Sun, 6 Mar 2011, Cyril Brulebois wrote:

Hi,

forwarding this to Thomas, I'm not sure when he subscribed to the BTS:

I've seen it before - the problem is that the way xterm uses the window manager hints for increments seems to get in the way of doing
this.

The fullscreen mode turns off those increments, and I'll be picking away
at the resulting problems (such as truncated character cells) for a while.


Joey Hess <joeyh@debian.org> (08/07/2001):
Package: xterm
Version: 4.0.3-4
Severity: wishlist

As my window manager allows me to do so, I often use
full-screen-maximized (to the point where there is nothing but text on
the screen) xterms these days for things like running web browsers and
reading mail. But there's a problem -- xterm snaps its geometry to a
multiple of the text width and height, plus the border pad. With my most
common font, this results in an xterm which uses all but 2 pixels of my
screen horizontally, and some 5 vertically. Not quite fullscreen
maximization. The remaining pixels show whatever's underneath the xterm
of course, which rather ruins the 100% text look.

I can play with the xterm border and make my window 2 pixels larger, but
I haven't found a way yet to independantly control the widths of the
horizontal and vertical borders. But all this playing around with
borders results in xterms I would only want to use
full-screen-maximized. It's not very flexible; if I want to use that
xterm unmaximized it will look funny, and if I want to change fonts (and
thus need a new border width), I have to start a new xterm with borders
tuned for that font.

What I'd like is a way to tell xterm that I want it to run in a special
mode where if it is forcibly resized to some wonky geometry like
1024x480, and that's doesn't match exactly the snapped-to geometry it
likes, just wing it: come up with appropriate horizontal and vertical
border widths as needed. When resized back to an exact multiple of the
font size, get rid of those borders.

Maybe it's a tall order, maybe it's fairly easy. Non-x-programmer here
doesn't know.


KiBi.


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



Reply to: