mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
desktop: fix pointer de-reference typo
Bug introduced in 23107
This commit is contained in:
parent
b967592289
commit
05b89691b0
1 changed files with 2 additions and 2 deletions
|
|
@ -312,14 +312,14 @@ desktop_view_at(struct server *server, double lx, double ly,
|
||||||
*surface = layer_surface_at(
|
*surface = layer_surface_at(
|
||||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY],
|
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY],
|
||||||
lx, ly, sx, sy);
|
lx, ly, sx, sy);
|
||||||
if (surface) {
|
if (*surface) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
*surface = layer_surface_at(
|
*surface = layer_surface_at(
|
||||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP],
|
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP],
|
||||||
lx, ly, sx, sy);
|
lx, ly, sx, sy);
|
||||||
if (surface) {
|
if (*surface) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue