0051f8e094bac6f0cdcae832ed5d44b96b1a968f — Jan Beich 3 months ago ec6567e master
Fix typo from ec6567e899a5 found by Clang

../view.c:136:16: error: expression which evaluates to zero treated as a null pointer constant of type 'int *' [-Werror,-Wnon-literal-null-conversion]
                        view_area = VIEW_AREA_SURFACE;
                                    ^~~~~~~~~~~~~~~~~
1 files changed, 1 insertions(+), 1 deletions(-)

M view.c
M view.c => view.c +1 -1
@@ 133,7 133,7 @@ struct wio_view *wio_view_at(struct wio_server *server, double lx, double ly,
 	wl_list_for_each(view, &server->views, link) {
 		// Surface
 		if (view_at(view, lx, ly, surface, sx, sy)) {
-			view_area = VIEW_AREA_SURFACE;
+			*view_area = VIEW_AREA_SURFACE;
 			return view;
 		}
 		// Top border