From 63a74632ac39d445cb15cda510c8267da9ff6bbb Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 13 Jan 2003 10:08:44 +0000 Subject: add the global display variable --- src/openbox.i | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/openbox.i') 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" -- cgit v1.2.3