summaryrefslogtreecommitdiff
path: root/src/XAtom.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-17 02:49:26 +0000
committerDana Jansens <danakj@orodu.net>2002-05-17 02:49:26 +0000
commit20d7381ffb3b7b918c0f6120cce8c0343a50ce83 (patch)
tree7beae6bd428df0148961325714e1407738053121 /src/XAtom.h
parentde712f85676ca0a386c956165bb6460d65206c46 (diff)
new versions of the X classes
added an Atom in XAtom and functionality in XScreen and XDisplay
Diffstat (limited to 'src/XAtom.h')
-rw-r--r--src/XAtom.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/XAtom.h b/src/XAtom.h
index 424603ec..87afe2e4 100644
--- a/src/XAtom.h
+++ b/src/XAtom.h
@@ -22,6 +22,8 @@
#ifndef __XAtom_h
#define __XAtom_h
+#include "../config.h"
+
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <vector>
@@ -37,6 +39,10 @@ class XAtom {
SupportWindows _support_windows;
Atom
+#ifdef HAVE_GETPID
+ openbox_pid,
+#endif // HAVE_GETPID
+
// window hints
wm_colormap_windows,
wm_protocols,
@@ -140,6 +146,10 @@ public:
void eraseValue(Window win, Atom atom) const;
+#ifdef HAVE_GETPID
+ inline Atom openboxPid() const { return openbox_pid; }
+#endif // HAVE_GETPID
+
inline Atom wmChangeState() const { return wm_change_state; }
inline Atom wmState() const { return wm_state; }
inline Atom wmDelete() const { return wm_delete_window; }