mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
xdg-toplevel: send invalid_parent error
This commit is contained in:
parent
5ba6cf517b
commit
a049d66dd7
5 changed files with 41 additions and 8 deletions
|
|
@ -418,9 +418,11 @@ void wlr_xdg_toplevel_send_close(struct wlr_xdg_toplevel *toplevel);
|
|||
|
||||
/**
|
||||
* Sets the parent of this toplevel. Parent can be NULL.
|
||||
*
|
||||
* Returns true on success, false if setting the parent would create a loop.
|
||||
*/
|
||||
void wlr_xdg_toplevel_set_parent(struct wlr_xdg_toplevel *toplevel,
|
||||
struct wlr_xdg_toplevel *parent);
|
||||
bool wlr_xdg_toplevel_set_parent(struct wlr_xdg_toplevel *toplevel,
|
||||
struct wlr_xdg_toplevel *parent);
|
||||
|
||||
/**
|
||||
* Request that this popup closes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue