layer_shell: Replace toplevel_layer_surface_from_surface with scene_descriptor_find

We can instead search the scene instead of hand rolling this logic
This commit is contained in:
Alexander Orzechowski 2024-08-26 16:55:59 -04:00
parent 2dacfb7983
commit f317198c2c
3 changed files with 15 additions and 50 deletions

View file

@ -36,9 +36,6 @@ struct sway_layer_popup {
struct sway_output;
struct wlr_layer_surface_v1 *toplevel_layer_surface_from_surface(
struct wlr_surface *surface);
void arrange_layers(struct sway_output *output);
#endif