aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl-consts.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-04-24 19:47:41 +0200
committerMattias Andrée <maandree@kth.se>2020-04-24 19:47:41 +0200
commit90cd52ece1623f9b872837a88504faeb9fd593f6 (patch)
tree2c910614d39b0b8dde5eccda25de99a6f360e161 /libaxl-consts.h
parentFirst commit (diff)
downloadlibaxl-90cd52ece1623f9b872837a88504faeb9fd593f6.tar.gz
libaxl-90cd52ece1623f9b872837a88504faeb9fd593f6.tar.bz2
libaxl-90cd52ece1623f9b872837a88504faeb9fd593f6.tar.xz
Second commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libaxl-consts.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/libaxl-consts.h b/libaxl-consts.h
index 26c1933..cf6a119 100644
--- a/libaxl-consts.h
+++ b/libaxl-consts.h
@@ -79,6 +79,14 @@
#define LIBAXL_KEYBOARD 1
#define LIBAXL_POINTER 2
+/* struct libaxl_visual_type.class */
+#define LIBAXL_STATIC_GRAY 0
+#define LIBAXL_GRAY_SCALE 1
+#define LIBAXL_STATIC_COLOR 2
+#define LIBAXL_PSEUDO_COLOR 3
+#define LIBAXL_TRUE_COLOR 4
+#define LIBAXL_DIRECT_COLOR 5
+
/* circatulation place */
#define LIBAXL_TOP 0
#define LIBAXL_BOTTOM 1
@@ -208,7 +216,8 @@
#define LIBAXL_INCLUDE_INFERIORS 1
/* backing store */
-#define LIBAXL_NOT_USEFUL 0
+#define LIBAXL_NOT_USEFUL 0 /* Not used in `struct libaxl_screen.backing_stores` */
+#define LIBAXL_NEVER 0 /* Used in `struct libaxl_screen.backing_stores` */
#define LIBAXL_WHEN_MAPPED 1
#define LIBAXL_ALWAYS 2
@@ -230,9 +239,9 @@
#define LIBAXL_NONLINEAR 3
#define LIBAXL_NONLINEAR_VIRTUAL 4
/* window focus details */
-#define LIBAXL_FOCUS_POINTER 5 /* Just called Pointer in the specification*/
-#define LIBAXL_FOCUS_POINTER_ROOT 6 /* Just called PointerRoot in the specification*/
-#define LIBAXL_FOCUS_NONE 7 /* Just called None in the specification*/
+#define LIBAXL_FOCUS_POINTER 5 /* Just called Pointer in the specification */
+#define LIBAXL_FOCUS_POINTER_ROOT 6 /* Just called PointerRoot in the specification */
+#define LIBAXL_FOCUS_NONE 7 /* Just called None in the specification */
/* misc. */
#define LIBAXL_ANY_PROPERTY_TYPE 0