pointer: Make coding style similar to keyboard

This commit is contained in:
Jasper St. Pierre 2014-09-16 18:55:27 -06:00
parent dbb7b9e85b
commit ac6ec168da

View File

@ -484,7 +484,7 @@ meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
if (pointer->focus_surface == surface) if (pointer->focus_surface == surface)
return; return;
if (pointer->focus_surface) if (pointer->focus_surface != NULL)
{ {
struct wl_resource *resource; struct wl_resource *resource;
struct wl_list *l; struct wl_list *l;