diff --git a/src/openbox_wrap.cc b/src/openbox_wrap.cc index e1e5b118..7483d7dc 100644 --- a/src/openbox_wrap.cc +++ b/src/openbox_wrap.cc @@ -9363,7 +9363,7 @@ static PyObject *_wrap_Client_focus(PyObject *self, PyObject *args) { if(!PyArg_ParseTuple(args,(char *)"O:Client_focus",&obj0)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - result = (bool)((ob::Client const *)arg1)->focus(); + result = (bool)(arg1)->focus(); resultobj = PyInt_FromLong((long)result); return resultobj;