From dabcb558cd10295f9382607936ead64d8b210b99 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 21 Mar 2003 09:31:36 +0000 Subject: make the event function static! --- plugins/focus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/focus.c') diff --git a/plugins/focus.c b/plugins/focus.c index 9424a236..8528d68c 100644 --- a/plugins/focus.c +++ b/plugins/focus.c @@ -74,7 +74,7 @@ static void focus_fallback(gboolean switching_desks) } } -static void events(ObEvent *e, void *foo) +static void event(ObEvent *e, void *foo) { switch (e->type) { case Event_Client_Mapped: @@ -125,10 +125,10 @@ void plugin_startup() Event_Ob_Desktop | Event_Client_Unmapped | Event_X_EnterNotify, - (EventHandler)events, NULL); + (EventHandler)event, NULL); } void plugin_shutdown() { - dispatch_register(0, (EventHandler)events, NULL); + dispatch_register(0, (EventHandler)event, NULL); } -- cgit v1.2.3