all repos — openbox @ 784b879a52570828bf66ac6e4a87983e9cc70747

openbox fork - make it a bit more like ryudo

set the global 'display' var to the otk::Display in use
Dana Jansens danakj@orodu.net
commit

784b879a52570828bf66ac6e4a87983e9cc70747

parent

b989ec13f7774bdb4b2b8675a65da56cb2fe0ef4

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/python.ccsrc/python.cc

@@ -34,6 +34,7 @@ // import the otk and openbox modules into the main namespace

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__");