[mutter] pointer: Make coding style similar to keyboard



commit ac6ec168da84e4597a78691e16c9a74a9dd1f703
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 16 18:55:27 2014 -0600

    pointer: Make coding style similar to keyboard

 src/wayland/meta-wayland-pointer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c
index 4b0811a..7677ae4 100644
--- a/src/wayland/meta-wayland-pointer.c
+++ b/src/wayland/meta-wayland-pointer.c
@@ -484,7 +484,7 @@ meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
   if (pointer->focus_surface == surface)
     return;
 
-  if (pointer->focus_surface)
+  if (pointer->focus_surface != NULL)
     {
       struct wl_resource *resource;
       struct wl_list *l;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]