%module ob
%{
-#ifdef HAVE_CONFIG_H
-# include "../config.h"
-#endif
+#include "config.h"
#include "frame.hh"
#include "openbox.hh"
}
};
+// do this through events
+%ignore ob::Screen::showDesktop(bool);
+
%import "otk.i"
-%import "widgetbase.hh"
%import "actions.hh"
%include "openbox.hh"
}
void send_client_msg(Window target, Atom type, Window about,
- long data, long data1, long data2,
- long data3, long data4)
+ long data=0, long data1=0, long data2=0,
+ long data3=0, long data4=0)
{
XEvent e;
e.xclient.type = ClientMessage;
&e);
}
-void execute(const std::string &bin, int screen)
+void execute(const std::string &bin, int screen=0)
{
if (screen >= ScreenCount(**otk::display))
screen = 0;