mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-23 06:59:44 -05:00
Revert "subcompositor: emit new_subsurface immediately"
new_subsurface emitted immediately isn't actually that useful. Revert the change
and document that this event is special.
This reverts commit 504b9491f0.
This commit is contained in:
parent
36cc698bc5
commit
87346b3393
2 changed files with 8 additions and 3 deletions
|
|
@ -190,7 +190,12 @@ struct wlr_surface {
|
|||
*/
|
||||
struct wl_signal unmap;
|
||||
|
||||
struct wl_signal new_subsurface;
|
||||
/**
|
||||
* Note: unlike other new_* signals, new_subsurface is emitted when
|
||||
* the subsurface is added to the parent surface's current state,
|
||||
* not when the object is created.
|
||||
*/
|
||||
struct wl_signal new_subsurface; // struct wlr_subsurface
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue