summaryrefslogtreecommitdiff
path: root/src/openbox_wrap.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-17 07:45:07 +0000
committerDana Jansens <danakj@orodu.net>2003-01-17 07:45:07 +0000
commit105e3524a3f6b526d54ecc761a6e6c91b04f3949 (patch)
treea50371d361db488363606d721cd696a56e33bc4f /src/openbox_wrap.cc
parent8be4541461ba04f41eb5c40852be351f35fa18ee (diff)
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.
Diffstat (limited to 'src/openbox_wrap.cc')
-rw-r--r--src/openbox_wrap.cc6
1 files changed, 2 insertions, 4 deletions
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;