From 8cc271604190c5200f34ffc8fee6100759c2fc60 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 5 Feb 2003 16:25:38 +0000 Subject: supply the same interface with optional arguments as before. increment callback functions when they are registered. --- wrap/ob.i | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wrap/ob.i') diff --git a/wrap/ob.i b/wrap/ob.i index b4c94622..19360a43 100644 --- a/wrap/ob.i +++ b/wrap/ob.i @@ -68,8 +68,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 +87,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; -- cgit v1.2.3