X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopenbox_wrap.cc;h=0686a696885e8cc7fc7e6807f738526120e89303;hb=9dd52dfcc3cebd39580db8e0b72e294c67a847d9;hp=bf1383eb7d3d9fb0d55be1277ee106ba2c7572d0;hpb=4c768d5d63154e416e1282396dc48492d0585d42;p=chaz%2Fopenbox diff --git a/src/openbox_wrap.cc b/src/openbox_wrap.cc index bf1383eb..0686a696 100644 --- a/src/openbox_wrap.cc +++ b/src/openbox_wrap.cc @@ -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},