From f7a0eb7624fa323a37f9fb0e306d7e1bbc745e15 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 30 Jan 2003 21:39:12 +0000 Subject: grab the keyboard during move/resize to make sure the popup doesnt get left onscreen if the modifiers are released before the button --- src/bindings.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/bindings.hh') diff --git a/src/bindings.hh b/src/bindings.hh index 2b2260e2..d120ffc0 100644 --- a/src/bindings.hh +++ b/src/bindings.hh @@ -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); -- cgit v1.2.3