summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-09-16 18:55:27 -0600
committerJasper St. Pierre <jstpierre@mecheye.net>2014-09-16 18:55:49 -0600
commitac6ec168da84e4597a78691e16c9a74a9dd1f703 (patch)
treea6930549086f22540c0082ad0c0bf31eeda4bad2
parentdbb7b9e85b90a26db914643399617a8dd36553ba (diff)
downloadmutter-ac6ec168da84e4597a78691e16c9a74a9dd1f703.tar.gz
pointer: Make coding style similar to keyboard
-rw-r--r--src/wayland/meta-wayland-pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c
index 4b0811a0f..7677ae488 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;