mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
desktop.c: fix typo to compile
This commit is contained in:
parent
231076a58f
commit
4c66004fa8
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue