]> Dogcows Code - chaz/openbox/blobdiff - wrap/ob.i
stacked cycling menu works now. add a highlighted flag to otk widgets
[chaz/openbox] / wrap / ob.i
index b4c94622c7f93d7058449b0e30b46d88e9f4bb46..33cc5403f0c70714d04cfad592cd14fda2fd687c 100644 (file)
--- a/wrap/ob.i
+++ b/wrap/ob.i
@@ -49,7 +49,6 @@
 
 %import "otk.i"
 
-%import "widgetbase.hh"
 %import "actions.hh"
 
 %include "openbox.hh"
@@ -68,8 +67,8 @@ void set_reset_key(const std::string &key)
 }
 
 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;
@@ -87,7 +86,7 @@ void send_client_msg(Window target, Atom type, Window about,
              &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;
This page took 0.026352 seconds and 4 git commands to generate.