X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpython.hh;h=3fd6baa9490193dc9c9ea9f2c467b09d56aa18ac;hb=a5a712f9ae652e500c81b42db548d213bde4712e;hp=42b9726f50081ca752721f8fab64545bb42b3c69;hpb=44d653e3e8d042bf3f1d68108a8197a895888da8;p=chaz%2Fopenbox diff --git a/src/python.hh b/src/python.hh index 42b9726f..3fd6baa9 100644 --- a/src/python.hh +++ b/src/python.hh @@ -46,6 +46,7 @@ struct MouseContext { struct MouseAction { enum MA { Press, + Release, Click, DoubleClick, Motion @@ -80,7 +81,7 @@ struct EventAction { EnterWindow, //!< Occurs when the mouse enters a window LeaveWindow, //!< Occurs when the mouse leaves a window //! Occurs while a window is being managed. The handler should call - //! Client::move to the window + //! Client::move on the window PlaceWindow, //! Occurs while a window is being managed, just before the window is //! displayed @@ -248,6 +249,9 @@ PyObject *kbind(PyObject *keylist, ob::KeyContext::KC context, PyObject *func); PyObject *kgrab(int screen, PyObject *func); PyObject *kungrab(); +PyObject *mgrab(int screen); +PyObject *mungrab(); + PyObject *ebind(ob::EventAction::EA action, PyObject *func); void set_reset_key(const std::string &key);