X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fbindings.cc;h=6e5b147e612191eb053045c12020c7b2db8da268;hb=d833fb1ecc6a65a8bccbbe15e372904f4bf17f23;hp=f68dc65a2383faf3d9a00097aa573d129a243144;hpb=40449e199dfeab57e8d147e07989aef339a7da59;p=chaz%2Fopenbox diff --git a/src/bindings.cc b/src/bindings.cc index f68dc65a..6e5b147e 100644 --- a/src/bindings.cc +++ b/src/bindings.cc @@ -359,7 +359,8 @@ void OBBindings::grabKeys(bool grab) } -void OBBindings::fireKey(unsigned int modifiers, unsigned int key, Time time) +void OBBindings::fireKey(int screen, unsigned int modifiers, unsigned int key, + Time time) { if (key == _resetkey.key && modifiers == _resetkey.modifiers) { resetChains(this); @@ -376,7 +377,7 @@ void OBBindings::fireKey(unsigned int modifiers, unsigned int key, Time time) Window win = None; OBClient *c = Openbox::instance->focusedClient(); if (c) win = c->window(); - KeyData *data = new_key_data(win, time, modifiers, key); + KeyData *data = new_key_data(screen, win, time, modifiers, key); CallbackList::iterator it, end = p->callbacks.end(); for (it = p->callbacks.begin(); it != end; ++it) python_callback(*it, (PyObject*)data);