]> Dogcows Code - chaz/openbox/blobdiff - src/python.cc
otk::Timer-ng!! thanks ManMower for this shizznit!
[chaz/openbox] / src / python.cc
index 12e74eeea1b0d5f1c6effe5b8206602167b4c465..d4cba31e44394fb4d1589ee972066f4bb5b563ac 100644 (file)
@@ -34,6 +34,7 @@ void python_init(char *argv0)
   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__");
This page took 0.02072 seconds and 4 git commands to generate.