mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
xdg-shell-v6: rename toplevel and popup fields in wlr_xdg_surface_v6 for consistency
This commit is contained in:
parent
657e5c8c0d
commit
149209b72e
3 changed files with 92 additions and 93 deletions
|
|
@ -92,10 +92,9 @@ struct wlr_xdg_surface_v6 {
|
|||
struct wl_list link; // wlr_xdg_client_v6::surfaces
|
||||
enum wlr_xdg_surface_v6_role role;
|
||||
|
||||
// TODO: the _state prefix should be dropped
|
||||
union {
|
||||
struct wlr_xdg_toplevel_v6 *toplevel_state;
|
||||
struct wlr_xdg_popup_v6 *popup_state;
|
||||
struct wlr_xdg_toplevel_v6 *toplevel;
|
||||
struct wlr_xdg_popup_v6 *popup;
|
||||
};
|
||||
|
||||
struct wl_list popups; // wlr_xdg_popup_v6::link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue