]> git.sur5r.net Git - i3/i3/blobdiff - include/libi3.h
Use the DPI setting within the i3bar (#2556)
[i3/i3] / include / libi3.h
index 0d9189f3cd9f019118af1ab107c1a94bc1cd144c..94e1d78ba6a3c75e9acaefb884f367a4336033a4 100644 (file)
@@ -10,6 +10,8 @@
  */
 #pragma once
 
+#include <config.h>
+
 #include <stdbool.h>
 #include <stdarg.h>
 #include <stdio.h>
@@ -471,6 +473,12 @@ char *get_exe_path(const char *argv0);
  */
 void init_dpi(void);
 
+/**
+ * This function returns the value of the DPI setting.
+ *
+ */
+long get_dpi_value(void);
+
 /**
  * Convert a logical amount of pixels (e.g. 2 pixels on a “standard” 96 DPI
  * screen) to a corresponding amount of physical pixels on a standard or retina