From 105e3524a3f6b526d54ecc761a6e6c91b04f3949 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 17 Jan 2003 07:45:07 +0000 Subject: add internal_move/resize and wrap them with move() and resize() which are for user use, and make sure that the window is allowed to be moved/resized. add the allowed actions hint setting. --- src/openbox_wrap.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/openbox_wrap.cc') diff --git a/src/openbox_wrap.cc b/src/openbox_wrap.cc index f99f5b59..81680d53 100644 --- a/src/openbox_wrap.cc +++ b/src/openbox_wrap.cc @@ -9197,13 +9197,11 @@ static PyObject *_wrap_Client_resize(PyObject *self, PyObject *args) { int arg2 ; int arg3 ; int arg4 ; - int arg5 = (int) INT_MIN ; - int arg6 = (int) INT_MIN ; PyObject * obj0 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"Oiii|ii:Client_resize",&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"Oiii:Client_resize",&obj0,&arg2,&arg3,&arg4)) goto fail; if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_ob__Client,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; - (arg1)->resize((ob::Client::Corner )arg2,arg3,arg4,arg5,arg6); + (arg1)->resize((ob::Client::Corner )arg2,arg3,arg4); Py_INCREF(Py_None); resultobj = Py_None; return resultobj; -- cgit v1.2.3