make rendertest exit cleanly when it is unmapped (iconify/desktopchange)
[openbox.git] / version.h.in
blobda3f02efc61eccf9b48fe9704bc54402d0ee2319
1 #ifndef ob__version_h
2 #define ob__version_h
4 #define OB_MAJOR_VERSION @OB_MAJOR_VERSION@
5 #define OB_MINOR_VERSION @OB_MINOR_VERSION@
6 #define OB_MICRO_VERSION @OB_MICRO_VERSION@
7 #define OB_VERSION OB_MAJOR_VERSION.OB_MINOR_VERSION.OB_MICRO_VERSION
9 #define OB_CHECK_VERSION(major,minor,micro) \
10 (OB_MAJOR_VERSION > (major) || \
11 (OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION > (minor)) || \
12 (OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION == (minor) && \
13 OB_MICRO_VERSION >= (micro)))
15 #endif