X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpython.hh;h=de9afdfb626bea56179b0168f63f8a33f36e6fc8;hb=741c68bb8701c440d9de974456c4a356de4ea6e0;hp=c346f928f89bc8d87772a16c17d98bac9853403e;hpb=ef02a0c8ae65f169157c90064a335303e964a4c1;p=chaz%2Fopenbox diff --git a/src/python.hh b/src/python.hh index c346f928..de9afdfb 100644 --- a/src/python.hh +++ b/src/python.hh @@ -154,7 +154,7 @@ public: this->client = client; this->time = time; this->state = state; - this->key = XKeysymToString(XKeycodeToKeysym(otk::Display::display, + this->key = XKeysymToString(XKeycodeToKeysym(**otk::display, key, 0)); } }; @@ -187,7 +187,7 @@ PyObject *ebind(ob::EventAction action, PyObject *func); void set_reset_key(const std::string &key); -PyObject *send_client_msg(Window target, int type, Window about, +PyObject *send_client_msg(Window target, Atom type, Window about, long data, long data1 = 0, long data2 = 0, long data3 = 0, long data4 = 0); }