X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbindings.hh;h=772b2a40840f57e009609f02b236019a8235c05c;hb=1da8531a7b4eea22592b6d0760352d2a34e9b6b0;hp=2b2260e26aeeb40602a169e73a0caa110dbcc3d7;hpb=997f94cf8657201ea9d1f2497e4ec4f56342e22f;p=chaz%2Fopenbox diff --git a/src/bindings.hh b/src/bindings.hh index 2b2260e2..772b2a40 100644 --- a/src/bindings.hh +++ b/src/bindings.hh @@ -103,12 +103,12 @@ public: */ bool addKey(const StringVect &keylist, PyObject *callback); - //! Removes a key binding - /*! - @return The callbackid of the binding, or '< 0' if there was no binding to - be removed. - */ - bool removeKey(const StringVect &keylist, PyObject *callback); + ////! Removes a key binding + ///*! + // @return The callbackid of the binding, or '< 0' if there was no binding to + // be removed. + //*/ + //bool removeKey(const StringVect &keylist, PyObject *callback); //! Removes all key bindings void removeAllKeys(); @@ -123,6 +123,9 @@ public: bool grabKeyboard(int screen, PyObject *callback); void ungrabKeyboard(); + bool grabPointer(int screen); + void ungrabPointer(); + bool addButton(const std::string &but, MouseContext::MC context, MouseAction::MA action, PyObject *callback);