Wayland: Cleanup

This commit is contained in:
Camilla Löwy 2022-06-10 18:53:22 +02:00
parent 2877fea550
commit 040712ce99
1 changed files with 4 additions and 2 deletions

View File

@ -401,7 +401,8 @@ static void surfaceHandleLeave(void* userData,
checkScaleChange(window); checkScaleChange(window);
} }
static const struct wl_surface_listener surfaceListener = { static const struct wl_surface_listener surfaceListener =
{
surfaceHandleEnter, surfaceHandleEnter,
surfaceHandleLeave surfaceHandleLeave
}; };
@ -557,7 +558,8 @@ static void xdgSurfaceHandleConfigure(void* userData,
} }
} }
static const struct xdg_surface_listener xdgSurfaceListener = { static const struct xdg_surface_listener xdgSurfaceListener =
{
xdgSurfaceHandleConfigure xdgSurfaceHandleConfigure
}; };