mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
xdg-shell: use wlr_surface_synced for toplevel
This commit is contained in:
parent
69d9a4e2cb
commit
9201431c29
4 changed files with 41 additions and 7 deletions
|
|
@ -30,6 +30,7 @@ void create_xdg_toplevel(struct wlr_xdg_surface *surface,
|
|||
uint32_t id);
|
||||
void reset_xdg_toplevel(struct wlr_xdg_toplevel *toplevel);
|
||||
void destroy_xdg_toplevel(struct wlr_xdg_toplevel *toplevel);
|
||||
void handle_xdg_toplevel_client_commit(struct wlr_xdg_toplevel *toplevel);
|
||||
void handle_xdg_toplevel_committed(struct wlr_xdg_toplevel *toplevel);
|
||||
struct wlr_xdg_toplevel_configure *send_xdg_toplevel_configure(
|
||||
struct wlr_xdg_toplevel *toplevel);
|
||||
|
|
|
|||
|
|
@ -208,6 +208,10 @@ struct wlr_xdg_toplevel {
|
|||
struct wl_signal set_title;
|
||||
struct wl_signal set_app_id;
|
||||
} events;
|
||||
|
||||
// private state
|
||||
|
||||
struct wlr_surface_synced synced;
|
||||
};
|
||||
|
||||
struct wlr_xdg_surface_configure {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue