![Dana Jansens](/assets/img/avatar_default.png)
Add _OB_VERSION property on the root window. Change _OB_ROLE/CLASS/NAME to _OB_APP_*. Add _OB_APP_TYPE which has a string for the type chosen for the window on mapping by Openbox. Adjust the rc.xml to match these changes.
15 lines
479 B
C
15 lines
479 B
C
#ifndef ob__version_h
|
|
#define ob__version_h
|
|
|
|
#define OB_MAJOR_VERSION @OB_MAJOR_VERSION@
|
|
#define OB_MINOR_VERSION @OB_MINOR_VERSION@
|
|
#define OB_MICRO_VERSION @OB_MICRO_VERSION@
|
|
#define OB_VERSION "@OB_VERSION@"
|
|
|
|
#define OB_CHECK_VERSION(major,minor,micro) \
|
|
(OB_MAJOR_VERSION > (major) || \
|
|
(OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION > (minor)) || \
|
|
(OB_MAJOR_VERSION == (major) && OB_MINOR_VERSION == (minor) && \
|
|
OB_MICRO_VERSION >= (micro)))
|
|
|
|
#endif
|