Remove the unneeded surface argument from focus_toplevel, like tinywl does

This commit is contained in:
Keith Bowes 2024-12-08 23:02:21 -05:00
parent 80bc1d51cd
commit d7f4d1001f
5 changed files with 12 additions and 11 deletions

View file

@ -43,7 +43,7 @@ struct wb_toplevel {
};
void init_xdg_shell(struct wb_server *server);
void focus_toplevel(struct wb_toplevel *toplevel, struct wlr_surface *surface);
void focus_toplevel(struct wb_toplevel *toplevel);
struct wlr_output *get_active_output(struct wb_toplevel *toplevel);
struct wb_toplevel *get_toplevel_at(
struct wb_server *server, double lx, double ly,