]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xournal.h
ignore events from non-drawing devices by default (ignore_other_devices)
[xournal.git] / src / xournal.h
index 3ef9b27b873593c54b16a17444710ae376dd6e97..62625ab3285edbb5bc9640180ccdd81528aa9109 100644 (file)
@@ -276,6 +276,7 @@ typedef struct UIData {
   gboolean is_corestroke; // this stroke is painted with core pointer
   gboolean saved_is_corestroke;
   GdkDevice *stroke_device; // who's painting this stroke
+  gboolean ignore_other_devices;
   int screen_width, screen_height; // initial screen size, for XInput events
   double hand_refpt[2];
   int hand_scrollto_cx, hand_scrollto_cy;