From: Johan Malm Date: Fri, 24 Sep 2021 21:13:35 +0000 (+0100) Subject: desktop.c: fix typo to compile X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=4c66004fa8fdc23a1bb4fe54c5dd7fc6625efb9a;p=proto%2Flabwc.git desktop.c: fix typo to compile --- diff --git a/src/desktop.c b/src/desktop.c index c7e153b3..f89a88a7 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -312,14 +312,14 @@ desktop_view_at(struct server *server, double lx, double ly, *surface = layer_surface_at( &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY], lx, ly, sx, sy); - if (surface) + if (surface) { return NULL; } *surface = layer_surface_at( &output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP], lx, ly, sx, sy); - if (surface) + if (surface) { return NULL; } @@ -339,4 +339,5 @@ desktop_view_at(struct server *server, double lx, double ly, return view; } } + return NULL; }