diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-03 18:41:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-03 18:41:49 +0000 |
| commit | 376ce0032ed64a7030e66edcb9bc39e77d63d347 (patch) | |
| tree | fac75d67db882dffcbc7f08e33cc6b195f55d085 /src/bindings.cc | |
| parent | c89a13d5dee4bf5f2e7d79452d4738595454b0c4 (diff) | |
rm old bb shit, and the old xeventhandler
Diffstat (limited to 'src/bindings.cc')
| -rw-r--r-- | src/bindings.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bindings.cc b/src/bindings.cc index d0a06fb0..9abc33fe 100644 --- a/src/bindings.cc +++ b/src/bindings.cc @@ -459,6 +459,12 @@ void OBBindings::fireButton(ButtonData *data) { printf("but.mods %d.%d\n", data->button, data->state); + if (data->context == MC_Window) { + // these are grabbed in Sync mode to allow the press to be normal to the + // client + XAllowEvents(otk::OBDisplay::display, ReplayPointer, data->time); + } + ButtonBindingList::iterator it, end = _buttons[data->context].end(); for (it = _buttons[data->context].begin(); it != end; ++it) if ((*it)->binding.key == data->button && |
