From 14cf42ff0780bf58a6b54c9443c87c7402b61faa Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 2 Jan 2003 21:05:29 +0000 Subject: run scripts before initializing screens. kill the globals.py. add the python_get_stringlist. --- src/openbox_wrap.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/openbox_wrap.cc') diff --git a/src/openbox_wrap.cc b/src/openbox_wrap.cc index ada473b6..146bb2a7 100644 --- a/src/openbox_wrap.cc +++ b/src/openbox_wrap.cc @@ -786,7 +786,9 @@ static std::string SwigString_AsString(PyObject* o) { Action_EnterWindow, Action_LeaveWindow, Action_KeyPress, - Action_MouseMotion + Action_MouseMotion, + Action_NewWindow, + Action_CloseWindow }; enum WidgetType { Type_Frame, @@ -2918,6 +2920,8 @@ static swig_const_info swig_const_table[] = { { SWIG_PY_INT, (char *)"Action_LeaveWindow", (long) Action_LeaveWindow, 0, 0, 0}, { SWIG_PY_INT, (char *)"Action_KeyPress", (long) Action_KeyPress, 0, 0, 0}, { SWIG_PY_INT, (char *)"Action_MouseMotion", (long) Action_MouseMotion, 0, 0, 0}, +{ SWIG_PY_INT, (char *)"Action_NewWindow", (long) Action_NewWindow, 0, 0, 0}, +{ SWIG_PY_INT, (char *)"Action_CloseWindow", (long) Action_CloseWindow, 0, 0, 0}, { SWIG_PY_INT, (char *)"Type_Frame", (long) Type_Frame, 0, 0, 0}, { SWIG_PY_INT, (char *)"Type_Titlebar", (long) Type_Titlebar, 0, 0, 0}, { SWIG_PY_INT, (char *)"Type_Handle", (long) Type_Handle, 0, 0, 0}, -- cgit v1.2.3