From e59aa3e0e7e142825fbd16887475285fafceb7ba Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Sat, 8 Jan 2022 22:52:54 +0300 Subject: xdg-toplevel: change object type in event structs This commit replaces wlr_xdg_toplevel_*_event::surface with a toplevel field. --- include/wlr/types/wlr_xdg_shell.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h index 2fee1453..a54d2723 100644 --- a/include/wlr/types/wlr_xdg_shell.h +++ b/include/wlr/types/wlr_xdg_shell.h @@ -231,26 +231,26 @@ struct wlr_xdg_surface { }; struct wlr_xdg_toplevel_move_event { - struct wlr_xdg_surface *surface; + struct wlr_xdg_toplevel *toplevel; struct wlr_seat_client *seat; uint32_t serial; }; struct wlr_xdg_toplevel_resize_event { - struct wlr_xdg_surface *surface; + struct wlr_xdg_toplevel *toplevel; struct wlr_seat_client *seat; uint32_t serial; uint32_t edges; }; struct wlr_xdg_toplevel_set_fullscreen_event { - struct wlr_xdg_surface *surface; + struct wlr_xdg_toplevel *toplevel; bool fullscreen; struct wlr_output *output; }; struct wlr_xdg_toplevel_show_window_menu_event { - struct wlr_xdg_surface *surface; + struct wlr_xdg_toplevel *toplevel; struct wlr_seat_client *seat; uint32_t serial; uint32_t x, y; -- cgit v1.2.3