display: Fix whitespace / code style with autoraise stuff

This commit is contained in:
Jasper St. Pierre 2013-10-15 23:59:55 -04:00
parent db2e00d41c
commit ec284bc56a

View File

@ -1638,7 +1638,8 @@ window_raise_with_delay_callback (void *data)
static void static void
meta_display_mouse_mode_focus (MetaDisplay *display, meta_display_mouse_mode_focus (MetaDisplay *display,
MetaWindow *window, MetaWindow *window,
guint32 timestamp) { guint32 timestamp)
{
if (window->type != META_WINDOW_DESKTOP) if (window->type != META_WINDOW_DESKTOP)
{ {
meta_topic (META_DEBUG_FOCUS, meta_topic (META_DEBUG_FOCUS,
@ -1677,7 +1678,8 @@ meta_display_mouse_mode_focus (MetaDisplay *display,
} }
static gboolean static gboolean
window_focus_on_pointer_rest_callback (gpointer data) { window_focus_on_pointer_rest_callback (gpointer data)
{
MetaFocusData *focus_data; MetaFocusData *focus_data;
MetaDisplay *display; MetaDisplay *display;
MetaScreen *screen; MetaScreen *screen;
@ -1722,9 +1724,9 @@ window_focus_on_pointer_rest_callback (gpointer data) {
goto out; goto out;
window = window =
meta_stack_get_default_focus_window_at_point (screen->stack, meta_stack_get_default_focus_window_at_point (screen->stack,
screen->active_workspace, screen->active_workspace,
None, root_x, root_y); None, root_x, root_y);
if (window == NULL) if (window == NULL)
goto out; goto out;
@ -1732,7 +1734,7 @@ window_focus_on_pointer_rest_callback (gpointer data) {
timestamp = meta_display_get_current_time_roundtrip (display); timestamp = meta_display_get_current_time_roundtrip (display);
meta_display_mouse_mode_focus (display, window, timestamp); meta_display_mouse_mode_focus (display, window, timestamp);
out: out:
display->focus_timeout_id = 0; display->focus_timeout_id = 0;
return FALSE; return FALSE;
} }