PyRun_SimpleString("from openbox import *;");
// set up convenience global variables
PyRun_SimpleString("openbox = Openbox_instance()");
+ PyRun_SimpleString("display = Display_instance()");
// set up access to the python global variables
PyObject *obmodule = PyImport_AddModule("__main__");
e.xclient.data.l[3] = data3;
e.xclient.data.l[4] = data4;
- XSendEvent(otk::Display::display, target, false,
+ XSendEvent(**otk::display, target, false,
SubstructureRedirectMask | SubstructureNotifyMask,
&e);
Py_INCREF(Py_None); return Py_None;