summaryrefslogtreecommitdiff
path: root/plugins/focus.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/focus.c')
-rw-r--r--plugins/focus.c6
1 files changed, 3 insertions, 3 deletions
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);
}