]> 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 9d9064e34c00a0ab96be2204b4fd9d34efccbe2d..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;
@@ -287,6 +288,7 @@ typedef struct UIData {
   gboolean in_update_page_stuff; // semaphore to avoid scrollbar retroaction
   struct Selection *selection;
   GdkCursor *cursor;
+  GdkPixbuf *pen_cursor_pix, *hiliter_cursor_pix;
   gboolean progressive_bg; // update PDF bg's one at a time
   char *mrufile, *configfile; // file names for MRU & config
   char *mru[MRU_SIZE]; // MRU data