diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-30 21:39:12 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-30 21:39:12 +0000 |
| commit | f7a0eb7624fa323a37f9fb0e306d7e1bbc745e15 (patch) | |
| tree | 65d4d080f359dff7a3a3de099f1bfc03bfe207ee /src/bindings.hh | |
| parent | 3409b046a043d8ffabf2e9c33ea037c2e5be15e4 (diff) | |
grab the keyboard during move/resize to make sure the popup doesnt get left onscreen if the modifiers are released before the button
Diffstat (limited to 'src/bindings.hh')
| -rw-r--r-- | src/bindings.hh | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
