diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-03 18:51:00 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-03 18:51:00 +0000 |
| commit | 660ad41ca0b1c48525bba071a27def141ad1cbfe (patch) | |
| tree | 890cdeb44c04cb647c9c69c70f97bfadc30b5b33 /src/bindings.cc | |
| parent | 376ce0032ed64a7030e66edcb9bc39e77d63d347 (diff) | |
s/reset/resetChains/
Diffstat (limited to 'src/bindings.cc')
| -rw-r--r-- | src/bindings.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings.cc b/src/bindings.cc index 9abc33fe..007b0334 100644 --- a/src/bindings.cc +++ b/src/bindings.cc @@ -339,7 +339,7 @@ void OBBindings::grabKeys(bool grab) void OBBindings::fireKey(unsigned int modifiers, unsigned int key, Time time) { if (key == _resetkey.key && modifiers == _resetkey.modifiers) { - reset(this); + resetChains(this); } else { KeyBindingTree *p = _curpos->first_child; while (p) { @@ -356,7 +356,7 @@ void OBBindings::fireKey(unsigned int modifiers, unsigned int key, Time time) KeyData *data = new_key_data(win, time, modifiers, key); python_callback(p->callback, (PyObject*)data); Py_DECREF((PyObject*)data); - reset(this); + resetChains(this); } break; } @@ -365,7 +365,7 @@ void OBBindings::fireKey(unsigned int modifiers, unsigned int key, Time time) } } -void OBBindings::reset(OBBindings *self) +void OBBindings::resetChains(OBBindings *self) { self->_timer.stop(); self->grabKeys(false); @@ -435,7 +435,7 @@ void OBBindings::grabButtons(bool grab, OBClient *client) break; case MC_Window: win = client->frame->plate(); - mode = GrabModeSync; // this is handled in the plate's buttonPressHandler + mode = GrabModeSync; // this is handled in fireButton break; default: // any other elements already get button events, don't grab on them |
