mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
subsurface: move parent link to state
Move the wlr_subsurface parent link to the subsurface state. This is a dumb find/replace operation. This shouldn't result in any behavior change.
This commit is contained in:
parent
56b6b80b9a
commit
3ac99fa4dc
2 changed files with 47 additions and 37 deletions
|
|
@ -170,6 +170,7 @@ struct wlr_surface {
|
|||
*/
|
||||
struct wlr_subsurface_parent_state {
|
||||
int32_t x, y;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
struct wlr_subsurface {
|
||||
|
|
@ -186,9 +187,6 @@ struct wlr_subsurface {
|
|||
bool reordered;
|
||||
bool mapped;
|
||||
|
||||
struct wl_list parent_link;
|
||||
struct wl_list parent_pending_link;
|
||||
|
||||
struct wl_listener surface_destroy;
|
||||
struct wl_listener parent_destroy;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue