Package: xli Version: 1.17.0+20061110-3 Severity: normal Tags: patch
If you try to place an image in the lower right corner of the screen with xli -geometry -0-0 it goes horribly wrong, with the window being almost entirely off the screen. This patch makes it behave better. --- xli-1.17.0+20061110/window.c.orig 2012-03-14 00:12:45.000000000 -0500 +++ xli-1.17.0+20061110/window.c 2012-03-14 00:15:39.000000000 -0500 @@ -508,6 +508,10 @@ if (winheight > DisplayHeight(disp, scrn) * 0.9) winheight = DisplayHeight(disp, scrn) * 0.9; } + if (user_geometry & XNegative) + winx -= winwidth; + if (user_geometry & YNegative) + winy -= winheight; } /* if the user told us to fit the colormap, we must use the default -- System Information: Debian Release: 6.0.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: powerpc (ppc) Kernel: Linux 3.0.3+ Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages xli depends on: ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG ii libpng12-0 1.2.44-1+squeeze2 PNG library - runtime ii libx11-6 2:1.3.3-4 X11 client-side library ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime xli recommends no packages. xli suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org