]> Dogcows Code - chaz/openbox/blobdiff - src/blackbox.cc
backing out sticky transients change, this should go in the netwm branch
[chaz/openbox] / src / blackbox.cc
index 1c543bbea69c155fd2de41a7630783f40a0e5554..72bbf7234eedccea6566109a8f107516338e2c1d 100644 (file)
@@ -90,6 +90,8 @@ extern "C" {
 #endif // HAVE_LIBGEN_H
 }
 
+#include <assert.h>
+
 #include <algorithm>
 #include <string>
 using std::string;
@@ -653,7 +655,7 @@ void Blackbox::process_event(XEvent *e) {
 
   case ClientMessage: {
     if (e->xclient.format == 32) {
-      if (e->xclient.message_type == getWMChangeStateAtom()) {
+      if (e->xclient.message_type == xatom->getAtom(XAtom::wm_change_state)) {
         BlackboxWindow *win = searchWindow(e->xclient.window);
         if (! win || ! win->validateClient()) return;
 
This page took 0.021982 seconds and 4 git commands to generate.