]> Dogcows Code - chaz/openbox/blobdiff - src/openbox_wrap.cc
make close() and shade() private.
[chaz/openbox] / src / openbox_wrap.cc
index bf1383eb7d3d9fb0d55be1277ee106ba2c7572d0..0686a696885e8cc7fc7e6807f738526120e89303 100644 (file)
@@ -2524,7 +2524,7 @@ static PyObject *_wrap_OBClient_focus(PyObject *self, PyObject *args) {
     
     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_focus",&obj0)) goto fail;
     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    result = (bool)(arg1)->focus();
+    result = (bool)((ob::OBClient const *)arg1)->focus();
     
     resultobj = PyInt_FromLong((long)result);
     return resultobj;
@@ -2540,7 +2540,7 @@ static PyObject *_wrap_OBClient_unfocus(PyObject *self, PyObject *args) {
     
     if(!PyArg_ParseTuple(args,(char *)"O:OBClient_unfocus",&obj0)) goto fail;
     if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__OBClient,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
-    (arg1)->unfocus();
+    ((ob::OBClient const *)arg1)->unfocus();
     
     Py_INCREF(Py_None); resultobj = Py_None;
     return resultobj;
@@ -3131,6 +3131,7 @@ static swig_const_info swig_const_table[] = {
 { SWIG_PY_INT,     (char *)"NUM_KEY_CONTEXT", (long) ob::NUM_KEY_CONTEXT, 0, 0, 0},
 { SWIG_PY_INT,     (char *)"EventEnterWindow", (long) ob::EventEnterWindow, 0, 0, 0},
 { SWIG_PY_INT,     (char *)"EventLeaveWindow", (long) ob::EventLeaveWindow, 0, 0, 0},
+{ SWIG_PY_INT,     (char *)"EventPlaceWindow", (long) ob::EventPlaceWindow, 0, 0, 0},
 { SWIG_PY_INT,     (char *)"EventNewWindow", (long) ob::EventNewWindow, 0, 0, 0},
 { SWIG_PY_INT,     (char *)"EventCloseWindow", (long) ob::EventCloseWindow, 0, 0, 0},
 { SWIG_PY_INT,     (char *)"EventStartup", (long) ob::EventStartup, 0, 0, 0},
This page took 0.022495 seconds and 4 git commands to generate.