]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xournal.h
fix: don't lose tracking of pointer events when exiting canvas
[xournal.git] / src / xournal.h
index 15906cdf6a257fe4298e94b6bebc60e706ea5492..7c7d4c3fa40b1979f1f9c68377b993704dda668b 100644 (file)
@@ -252,6 +252,7 @@ typedef struct UIData {
   gboolean pressure_sensitivity; // use pen pressure to control stroke width?
   double width_minimum_multiplier, width_maximum_multiplier; // calibration for pressure sensitivity
   gboolean is_corestroke; // this stroke is painted with core pointer
+  gboolean saved_is_corestroke;
   GdkDevice *stroke_device; // who's painting this stroke
   int screen_width, screen_height; // initial screen size, for XInput events
   double hand_refpt[2];