From a65a66d49bd0d6ec6c94b8e3ecd551cb570cec95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= Date: Wed, 25 Jun 2014 19:06:17 -0300 Subject: Remove all trailing whitespaces in the code tree Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i --- src/compositor/compositor-xrender.c | 2 +- src/compositor/compositor-xrender.h | 6 +++--- src/compositor/compositor.c | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/compositor') diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c index 6294e9d7..dbd7bd94 100644 --- a/src/compositor/compositor-xrender.c +++ b/src/compositor/compositor-xrender.c @@ -1821,7 +1821,7 @@ add_win (MetaScreen *screen, if (xwindow == info->output) return; - + /* If already added, ignore */ if (find_window_for_screen (screen, xwindow) != NULL) return; diff --git a/src/compositor/compositor-xrender.h b/src/compositor/compositor-xrender.h index 7b0ee944..0d8cda6f 100644 --- a/src/compositor/compositor-xrender.h +++ b/src/compositor/compositor-xrender.h @@ -1,10 +1,10 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ -/* +/* * Copyright (C) 2007 Iain Holmes * Based on xcompmgr - (c) 2003 Keith Packard * xfwm4 - (c) 2005-2007 Olivier Fourdan - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the @@ -14,7 +14,7 @@ * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index 4e5adab5..ab6427e7 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -114,7 +114,7 @@ meta_compositor_get_window_pixmap (MetaCompositor *compositor, #ifdef HAVE_COMPOSITE_EXTENSIONS if (compositor && compositor->get_window_pixmap) return compositor->get_window_pixmap (compositor, window); - else + else return None; #else return None; @@ -127,7 +127,7 @@ meta_compositor_set_active_window (MetaCompositor *compositor, MetaWindow *window) { #ifdef HAVE_COMPOSITE_EXTENSIONS - if (compositor && compositor->set_active_window) + if (compositor && compositor->set_active_window) compositor->set_active_window (compositor, screen, window); #endif } @@ -136,14 +136,14 @@ meta_compositor_set_active_window (MetaCompositor *compositor, void meta_compositor_begin_move (MetaCompositor *compositor, MetaWindow *window, MetaRectangle *initial, - int grab_x, + int grab_x, int grab_y) { } void meta_compositor_update_move (MetaCompositor *compositor, MetaWindow *window, - int x, + int x, int y) { } -- cgit v1.2.1