]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xournal.h
Disable GTK+ XInput bugfix by default (tracker #3429416)
[xournal.git] / src / xournal.h
index 15906cdf6a257fe4298e94b6bebc60e706ea5492..6254932ded10375809d7c36d045c14ca386b2c44 100644 (file)
@@ -7,7 +7,7 @@
    and want to list the input events received by xournal. Caution, lots
    of output (redirect to a file). */
 
-#define ENABLE_XINPUT_BUGFIX
+// #define ENABLE_XINPUT_BUGFIX
 /* comment out this line if you are experiencing calibration problems with
    XInput and want to try things differently. This will probably break
    on-the-fly display rotation after application startup, though. */
@@ -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];
@@ -294,6 +295,7 @@ typedef struct UIData {
 #if GTK_CHECK_VERSION(2,10,0)
   GtkPrintSettings *print_settings;
 #endif
+  gboolean poppler_force_cairo; // force poppler to use cairo
 } UIData;
 
 #define BRUSH_LINKED 0