mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
xdg-decoration: use wlr_surface_synced for toplevel
This commit is contained in:
parent
96aec06b0a
commit
0e3d2222c2
2 changed files with 18 additions and 13 deletions
|
|
@ -36,7 +36,7 @@ struct wlr_xdg_toplevel_decoration_v1_state {
|
|||
|
||||
struct wlr_xdg_toplevel_decoration_v1 {
|
||||
struct wl_resource *resource;
|
||||
struct wlr_xdg_toplevel * toplevel;
|
||||
struct wlr_xdg_toplevel *toplevel;
|
||||
struct wlr_xdg_decoration_manager_v1 *manager;
|
||||
struct wl_list link; // wlr_xdg_decoration_manager_v1.link
|
||||
|
||||
|
|
@ -52,12 +52,15 @@ struct wlr_xdg_toplevel_decoration_v1 {
|
|||
struct wl_signal request_mode;
|
||||
} events;
|
||||
|
||||
void *data;
|
||||
|
||||
// private state
|
||||
|
||||
struct wl_listener toplevel_destroy;
|
||||
struct wl_listener surface_configure;
|
||||
struct wl_listener surface_ack_configure;
|
||||
struct wl_listener surface_commit;
|
||||
|
||||
void *data;
|
||||
struct wlr_surface_synced synced;
|
||||
};
|
||||
|
||||
struct wlr_xdg_decoration_manager_v1 *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue