From: root Date: Mon, 7 Aug 2006 21:38:24 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=abe133ed1569f4dc957e883537d6f454747fbd46;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs index ebf88649..d91da88d 100644 --- a/src/rxvtperl.xs +++ b/src/rxvtperl.xs @@ -270,6 +270,9 @@ public: overlay::overlay (rxvt_term *THIS, int x_, int y_, int w_, int h_, rend_t rstyle, int border) : THIS(THIS), x(x_), y(y_), w(w_), h(h_), border(border == 2), overlay_av (0) { + if (w < 0) w = 0; + if (h < 0) h = 0; + if (border == 2) { w += 2;