From 376ce0032ed64a7030e66edcb9bc39e77d63d347 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 3 Jan 2003 18:41:49 +0000 Subject: rm old bb shit, and the old xeventhandler --- src/bindings.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/bindings.cc') 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 && -- cgit v1.2.3