]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xournal.h
fix linker flags (#3208984); evdev coordinate fix (#3244118)
[xournal.git] / src / xournal.h
index 15906cdf6a257fe4298e94b6bebc60e706ea5492..49f5f76fddfdd41c6e34cbd0f8df26bc5722750c 100644 (file)
@@ -7,10 +7,10 @@
    and want to list the input events received by xournal. Caution, lots
    of output (redirect to a file). */
 
-#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. */
+// #define ENABLE_XINPUT_BUGFIX
+/* uncomment this line if you are experiencing calibration problems with
+   XInput and want to try things differently. Especially useful on older
+   distributions (up to around 2010). */
 
 #define FILE_DIALOG_SIZE_BUGFIX
 /* ugly, but should help users with versions of GTK+ that suffer from the
@@ -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