[mutter/wayland] display: Fix whitespace / code style with autoraise stuff
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] display: Fix whitespace / code style with autoraise stuff
- Date: Wed, 16 Oct 2013 04:34:10 +0000 (UTC)
commit 488df061c7571b49ad27949878eaace54d5ba1a9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Oct 15 23:59:55 2013 -0400
display: Fix whitespace / code style with autoraise stuff
src/core/display.c | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index c7f1a34..14ee96e 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]