summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-12-23 00:16:02 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-12-23 00:16:02 -0800
commita6998186a3546f9f871e2cab3e994c782bd98a98 (patch)
treeb0c5eeefc6f12746951002af45f84cf00d7c3cbe /src
parent2946b408a1afb392b668fb3d35cb57ed7600cf2f (diff)
direction: introduce vwm_direction_t enum type
Preparations for adding support for reversing {window,desktop} list traversal directions. A subsequent commit will introduce a direction flag of this type to the relevant functions.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/direction.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index cd5d5c7..672a0a5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
SUBDIRS = libvmon
bin_PROGRAMS = vwm vmon
-vwm_SOURCES = clickety.c composite.c context.c desktop.c key.c launch.c logo.c charts.c screen.c vwm.c window.c xevent.c xserver.c xwindow.c clickety.h composite.h context.h desktop.h key.h launch.h list.h logo.h charts.h screen.h util.h vwm.h window.h xevent.h xserver.h xwindow.h colors.def launchers.def
+vwm_SOURCES = clickety.c composite.c context.c desktop.c key.c launch.c logo.c charts.c screen.c vwm.c window.c xevent.c xserver.c xwindow.c clickety.h composite.h context.h desktop.h direction.h key.h launch.h list.h logo.h charts.h screen.h util.h vwm.h window.h xevent.h xserver.h xwindow.h colors.def launchers.def
vwm_LDADD = @VWM_LIBS@ libvmon/libvmon.a
vwm_CPPFLAGS = @VWM_CFLAGS@
diff --git a/src/direction.h b/src/direction.h
new file mode 100644
index 0000000..11019d5
--- /dev/null
+++ b/src/direction.h
@@ -0,0 +1,9 @@
+#ifndef _DIRECTION_H
+#define _DIRECTION_H
+
+typedef enum _vwm_direction_t {
+ VWM_DIRECTION_FORWARD,
+ VWM_DIRECTION_REVERSE
+} vwm_direction_t;
+
+#endif
© All Rights Reserved