From 488df061c7571b49ad27949878eaace54d5ba1a9 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 15 Oct 2013 23:59:55 -0400 Subject: [PATCH] display: Fix whitespace / code style with autoraise stuff --- src/core/display.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/core/display.c b/src/core/display.c index c7f1a349a..14ee96ef9 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1667,7 +1667,8 @@ window_raise_with_delay_callback (void *data) static void meta_display_mouse_mode_focus (MetaDisplay *display, MetaWindow *window, - guint32 timestamp) { + guint32 timestamp) +{ if (window->type != META_WINDOW_DESKTOP) { meta_topic (META_DEBUG_FOCUS, @@ -1706,7 +1707,8 @@ meta_display_mouse_mode_focus (MetaDisplay *display, } static gboolean -window_focus_on_pointer_rest_callback (gpointer data) { +window_focus_on_pointer_rest_callback (gpointer data) +{ MetaFocusData *focus_data; MetaDisplay *display; MetaScreen *screen; @@ -1751,9 +1753,9 @@ window_focus_on_pointer_rest_callback (gpointer data) { goto out; window = - meta_stack_get_default_focus_window_at_point (screen->stack, - screen->active_workspace, - None, root_x, root_y); + meta_stack_get_default_focus_window_at_point (screen->stack, + screen->active_workspace, + None, root_x, root_y); if (window == NULL) goto out; @@ -1761,7 +1763,7 @@ window_focus_on_pointer_rest_callback (gpointer data) { timestamp = meta_display_get_current_time_roundtrip (display); meta_display_mouse_mode_focus (display, window, timestamp); -out: + out: display->focus_timeout_id = 0; return FALSE; }