diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-24 09:25:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-24 09:25:03 +0000 |
| commit | 084d6f4e42396a5d2baf72877b5abf3ae6fef7be (patch) | |
| tree | 26e017f1eee3c248b89151897d5faa7cd3df65cf /src/python.cc | |
| parent | 91c7e5c378b1a639c6f5383915ed68b36b7735d4 (diff) | |
some intermediate stage. stacked focus cycling is very broken. dont try it. going to have to change how the python stuff works i think!
Diffstat (limited to 'src/python.cc')
| -rw-r--r-- | src/python.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python.cc b/src/python.cc index a89fa467..ff02d6d4 100644 --- a/src/python.cc +++ b/src/python.cc @@ -123,14 +123,14 @@ PyObject *ebind(ob::EventAction action, PyObject *func) Py_INCREF(Py_None); return Py_None; } -PyObject *kgrab(PyObject *func) +PyObject *kgrab(int screen, PyObject *func) { if (!PyCallable_Check(func)) { PyErr_SetString(PyExc_TypeError, "Invalid callback function."); return NULL; } - if (!ob::openbox->bindings()->grabKeyboard(func)) { + if (!ob::openbox->bindings()->grabKeyboard(screen, func)) { PyErr_SetString(PyExc_RuntimeError,"Unable to grab keybaord."); return NULL; } |
