]> Dogcows Code - chaz/openbox/blobdiff - src/xatom.cc
OBTimer is fully documented.
[chaz/openbox] / src / xatom.cc
index 5561503adf8d97cc0992a1daad7cbcc112872b8c..3ed6cdf4957bdf875265eff36202179a66044b3f 100644 (file)
@@ -1,7 +1,5 @@
 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 
-#include "../config.h"
-
 #ifdef    HAVE_CONFIG_H
 #  include "../config.h"
 #endif // HAVE_CONFIG_H
@@ -14,6 +12,8 @@ extern "C" {
 #include "screen.hh"
 #include "util.hh"
 
+namespace ob {
+
 XAtom::XAtom(Display *d) {
   _display = d;
 
@@ -170,7 +170,7 @@ Atom XAtom::create(const char *name) const {
 /*
  * Sets which atoms are supported for NETWM, by Openbox, on the root window.
  */
-void XAtom::setSupported(const ScreenInfo *screen) {
+void XAtom::setSupported(const otk::ScreenInfo *screen) {
   Window root = screen->getRootWindow();
 
   // create the netwm support window
@@ -511,3 +511,5 @@ void XAtom::sendClientMessage(Window target, Atoms type, Window about,
              SubstructureRedirectMask | SubstructureNotifyMask,
              &e);
 }
+
+}
This page took 0.02186 seconds and 4 git commands to generate.