summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/progress-linux/0004-disable-savedocviewport.patch14
-rw-r--r--debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0004-disable-savedocviewport.patch b/debian/patches/progress-linux/0004-disable-savedocviewport.patch
new file mode 100644
index 0000000..1351508
--- /dev/null
+++ b/debian/patches/progress-linux/0004-disable-savedocviewport.patch
@@ -0,0 +1,14 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Disable saving doc viewport.
+
+diff -Naurp inkscape.orig/src/preferences-skeleton.h inkscape/src/preferences-skeleton.h
+--- inkscape.orig/src/preferences-skeleton.h
++++ inkscape/src/preferences-skeleton.h
+@@ -272,6 +272,7 @@ static char const preferences_skeleton[]
+ uri="" />
+ <group id="savewindowgeometry" value="0"/>
+ <group id="savedialogposition" value="0"/>
++ <group id="savedocviewport" value="0"/>
+ <group id="defaultoffsetwidth" value="2px"/>
+ <group id="defaultscale" value="2px"/>
+ <group id="maxrecentdocuments" value="36"/>
diff --git a/debian/patches/series b/debian/patches/series
index 8d991bf..d2becab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ skip-test-use.patch
progress-linux/0001-enable-sort-attributes.patch
progress-linux/0002-disable-savewindowgeometry.patch
progress-linux/0003-disable-savedialogposition.patch
+progress-linux/0004-disable-savedocviewport.patch