summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:25:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:25:53 +0000
commita8135bcd31619cc7c3b742b22a3c25a5e83cf2ee (patch)
treea710efe407453fcc48e42bf92082a033ea54a6f7 /debian/patches
parentDisable saving dialog position. (diff)
downloadinkscape-a8135bcd31619cc7c3b742b22a3c25a5e83cf2ee.tar.xz
inkscape-a8135bcd31619cc7c3b742b22a3c25a5e83cf2ee.zip
Disable saving doc viewport.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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