summaryrefslogtreecommitdiff
path: root/src/simple-scan.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-08-22 21:22:16 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-08-22 21:22:16 +0200
commit0bb0910e8e7dfbc3a55ae89fc2544ce65e62a1d5 (patch)
tree20c21564fb98727ab1a60bfd54c658c245bc1ef2 /src/simple-scan.vala
parent0384af9b7c644427247bbcba974a7afe1f93850c (diff)
New upstream version 3.36.4upstream/3.36.4
Diffstat (limited to 'src/simple-scan.vala')
-rw-r--r--src/simple-scan.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simple-scan.vala b/src/simple-scan.vala
index fc9b101..771dc82 100644
--- a/src/simple-scan.vala
+++ b/src/simple-scan.vala
@@ -1536,7 +1536,8 @@ public class SimpleScan : Gtk.Application
debug ("Requesting scan at %d dpi from device '%s'", options.dpi, device);
if (!scanner.is_scanning ())
- append_page (options.paper_width, options.paper_height, options.dpi);
+ // We need to add +1 to avoid visual glitches, fixes: #179
+ append_page (options.paper_width + 1, options.paper_height + 1, options.dpi + 1);
scanner.scan (device, options);
}