chiark / gitweb /
bin/xzoomscr: Turn off panning when unity scaling is selected.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 30 Sep 2024 15:31:31 +0000 (16:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 30 Sep 2024 15:31:31 +0000 (16:31 +0100)
Panning and multiple CRTs don't mix well.  And I finally noticed the
part of the manpage which explained how to turn panning off.  So, err,
do that.

bin/xzoomscr

index eaf6254144c2846c7df0e936f4b08d791b5bef34..b078c1150bd20ac455752b4e301372af75775e64 100755 (executable)
@@ -51,7 +51,7 @@ EOF
 case $found in nil) echo >&2 "$0: pointer not on any screen?"; exit 2 ;; esac
 
 case $(( $mul == $div )) in
-  1) pan= ;;
+  1) pan="--panning 0x0" ;;
   *) pan="--panning ${XWIDTH}x${XHEIGHT}" ;;
 esac