mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
common: Add znew/znew_n() macros
This commit is contained in:
parent
da57483961
commit
a54d378e6c
26 changed files with 47 additions and 47 deletions
|
|
@ -140,8 +140,7 @@ struct xwayland_unmanaged *
|
|||
xwayland_unmanaged_create(struct server *server,
|
||||
struct wlr_xwayland_surface *xsurface)
|
||||
{
|
||||
struct xwayland_unmanaged *unmanaged =
|
||||
xzalloc(sizeof(struct xwayland_unmanaged));
|
||||
struct xwayland_unmanaged *unmanaged = znew(*unmanaged);
|
||||
unmanaged->server = server;
|
||||
unmanaged->xwayland_surface = xsurface;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue