chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37c6e7
)
bin/xzoomscr: Turn off panning when unity scaling is selected.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 30 Sep 2024 15:31:31 +0000
(16:31 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/bin/xzoomscr
b/bin/xzoomscr
index eaf6254144c2846c7df0e936f4b08d791b5bef34..b078c1150bd20ac455752b4e301372af75775e64 100755
(executable)
--- a/
bin/xzoomscr
+++ b/
bin/xzoomscr
@@
-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