Code

better way to deal with undo+id collisions
[inkscape.git] / src / document.cpp
index d77d61d0984862dd4c3ff070da6de6a0bf4bc309..c6dc66a514cd5675f5eaaf1831c561a648600f3e 100644 (file)
@@ -106,6 +106,7 @@ SPDocument::SPDocument() {
     p->history_size = 0;
     p->undo = NULL;
     p->redo = NULL;
+    p->seeking = false;
 
     priv = p;
 
@@ -1155,6 +1156,10 @@ vacuum_document(SPDocument *document)
     return start - newend;
 }
 
+bool SPDocument::isSeeking() const {
+    return priv->seeking;
+}
+
 
 /*
   Local Variables: