Code

Forced redraw of canvas upon document commit to work around event starvation issue...
[inkscape.git] / src / document-private.h
index 549a4530f49985a752cc6a69f33ac18987afb3da..cb83c9376eb268feca56338333a7be8e9076c489 100644 (file)
@@ -22,6 +22,8 @@
 
 #include "composite-undo-stack-observer.h"
 
+#include "event-log.h"
+
 // XXX only for testing!
 #include "console-output-undo-observer.h"
 
@@ -54,6 +56,7 @@ struct SPDocumentPrivate {
        SPDocument::ResizedSignal resized_signal;
        SPDocument::ReconstructionStart _reconstruction_start_signal;
        SPDocument::ReconstructionFinish  _reconstruction_finish_signal;
+  SPDocument::CommitSignal commit_signal;
 
        /* Undo/Redo state */
        guint sensitive: 1; /* If we save actions to undo stack */
@@ -65,6 +68,9 @@ struct SPDocumentPrivate {
        /* Undo listener */
        Inkscape::CompositeUndoStackObserver undoStackObservers;
 
+        /* Event log */
+        Inkscape::EventLog event_log;
+
        // XXX only for testing!
        Inkscape::ConsoleOutputUndoObserver console_output_undo_observer;
 };