X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopenbox.i;h=657e31b741e2640a4e6c70a74ee67b5b626f73dd;hb=96a9196cbb71b7f8d5e3d98a92b2e59bb1b591a8;hp=ef86b9bcceb725fc3bae125ae83f08551f6745bd;hpb=cdcc526a0274cace9f542960fe4eee4ddcc23d31;p=chaz%2Fopenbox diff --git a/src/openbox.i b/src/openbox.i index ef86b9bc..657e31b7 100644 --- a/src/openbox.i +++ b/src/openbox.i @@ -110,6 +110,9 @@ void python_callback(PyObject *func, KeyData *data) }; %ignore otk::display; +%inline %{ + otk::Display *Display_instance() { return otk::display; } +%}; %include "../otk/ustring.i"