summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0004-disable-savedocviewport.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/progress-linux/0004-disable-savedocviewport.patch14
1 files changed, 14 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"/>