Package: xless
Version: 1.7-14
Followup-For: Bug #3773

When calculating the width of the text window required, xless does not
take into account the scrollbars.  I am attaching a crude patch to
rectiy this by extending the window.



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xless depends on:
ii  libc6                         2.7-6      GNU C Library: Shared libraries
ii  libice6                       2:1.0.4-1  X11 Inter-Client Exchange library
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxaw7                       2:1.0.4-1  X11 Athena Widget library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxmu6                       2:1.0.4-1  X11 miscellaneous utility library
ii  libxt6                        1:1.0.5-3  X11 toolkit intrinsics library

xless recommends no packages.

-- no debconf information

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--- xless-1.7-patched/init.c	2008-03-18 23:47:18.000000000 +0000
+++ xless-1.7/init.c	2008-03-18 01:21:10.000000000 +0000
@@ -675,7 +675,7 @@
 
   /* set base & increment size */
   XtVaSetValues(wi->base,
-		XtNbaseWidth, baseWidth + charWidth + charWidth + charWidth,
+		XtNbaseWidth, baseWidth,
 		XtNbaseHeight, charHeight,
 		XtNheightInc, charHeight,
 		XtNwidthInc, charWidth,

Reply via email to