X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fpython.hh;h=81b3b0ca3b11eb6b7acd72334131ea174d9d542c;hb=eccab56a6c06c9c2f5764d7913fd794961f60214;hp=2f77932138c724ae312298bd909c4e7e1e688cee;hpb=26bef30a57e0a23be2dc3dd5418f305c43684bb1;p=chaz%2Fopenbox diff --git a/src/python.hh b/src/python.hh index 2f779321..81b3b0ca 100644 --- a/src/python.hh +++ b/src/python.hh @@ -8,6 +8,7 @@ #include "otk/point.hh" #include "otk/rect.hh" +#include "otk/property.hh" extern "C" { #include @@ -55,6 +56,7 @@ enum EventAction { EventCloseWindow, EventStartup, EventShutdown, + EventFocus, NUM_EVENTS }; @@ -142,6 +144,10 @@ 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, + long data, long data1 = 0, long data2 = 0, + long data3 = 0, long data4 = 0); + } #endif // __python_hh