mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
desktop: desktop_view_at() set *surface correnctly
Bug introduced in 23107
This commit is contained in:
parent
05b89691b0
commit
23f28e5082
1 changed files with 13 additions and 0 deletions
|
|
@ -339,5 +339,18 @@ desktop_view_at(struct server *server, double lx, double ly,
|
|||
return view;
|
||||
}
|
||||
}
|
||||
|
||||
*surface = layer_surface_at(
|
||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM],
|
||||
lx, ly, sx, sy);
|
||||
if (*surface) {
|
||||
return NULL;
|
||||
}
|
||||
*surface = layer_surface_at(
|
||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND],
|
||||
lx, ly, sx, sy);
|
||||
if (*surface) {
|
||||
return NULL;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue