summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/openbox/event.c b/openbox/event.c
index eb678650..822168f4 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -1579,7 +1579,7 @@ static void event_handle_dockapp(ObDockApp *app, XEvent *e)
}
}
-static ObMenuFrame* find_active_menu()
+static ObMenuFrame* find_active_menu(void)
{
GList *it;
ObMenuFrame *ret = NULL;
@@ -1593,7 +1593,7 @@ static ObMenuFrame* find_active_menu()
return ret;
}
-static ObMenuFrame* find_active_or_last_menu()
+static ObMenuFrame* find_active_or_last_menu(void)
{
ObMenuFrame *ret = NULL;
@@ -1857,14 +1857,14 @@ static void focus_delay_client_dest(ObClient *client, gpointer data)
client, FALSE);
}
-void event_halt_focus_delay()
+void event_halt_focus_delay(void)
{
/* ignore all enter events up till now */
event_end_ignore_all_enters(1);
ob_main_loop_timeout_remove(ob_main_loop, focus_delay_func);
}
-gulong event_start_ignore_all_enters()
+gulong event_start_ignore_all_enters(void)
{
XSync(ob_display, FALSE);
return LastKnownRequestProcessed(ob_display);
@@ -1911,7 +1911,7 @@ static gboolean is_enter_focus_event_ignored(XEvent *e)
return FALSE;
}
-void event_cancel_all_key_grabs()
+void event_cancel_all_key_grabs(void)
{
if (actions_interactive_act_running()) {
actions_interactive_cancel_act();
@@ -1958,7 +1958,7 @@ gboolean event_time_after(Time t1, Time t2)
return t1 >= t2 && t1 < (t2 + TIME_HALF);
}
-Time event_get_server_time()
+Time event_get_server_time(void)
{
/* Generate a timestamp */
XEvent event;