diff options
author | Tom Willemse | 2013-08-12 22:44:17 +0200 |
---|---|---|
committer | Tom Willemse | 2013-08-12 22:44:42 +0200 |
commit | 904092846e65a6d093bcec8b2130638c14d9a309 (patch) | |
tree | 33bb76acfbbe7c3fac690c0de285721e0a6620f7 | |
parent | 159f9d2187215e3f4c1b6ce82b9388686ce3574a (diff) | |
download | urxvt-modeline-904092846e65a6d093bcec8b2130638c14d9a309.tar.gz urxvt-modeline-904092846e65a6d093bcec8b2130638c14d9a309.zip |
Resize to (rows - 1) * line_height
The problem with resizing to `height - line_height' is that when size
hints are not honored `height' is not the same as `rows * line_height',
but slightly more.
-rwxr-xr-x | modeline | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,11 +91,11 @@ sub configure { # this is an extremely dirty way to force a configurenotify, but who cares $tab->XMoveResizeWindow ( $tab->parent, 0, 0, - $self->width, $self->height - $self->{tabheight} + $self->width, ($self->nrow - 1) * $self->{tabheight} ); $tab->XMoveResizeWindow ( $tab->parent, 0, 0, - $self->width, $self->height - $self->{tabheight} + $self->width, ($self->nrow - 1) * $self->{tabheight} ); } |