Wayland: Clean up listener struct initialization

Adapt style to match the rest of the project.
This commit is contained in:
Camilla Löwy
2022-03-31 22:17:08 +02:00
parent f010335b8c
commit 0f38382e25
3 changed files with 26 additions and 13 deletions

View File

@@ -62,7 +62,8 @@ static void wmBaseHandlePing(void* userData,
xdg_wm_base_pong(wmBase, serial);
}
static const struct xdg_wm_base_listener wmBaseListener = {
static const struct xdg_wm_base_listener wmBaseListener =
{
wmBaseHandlePing
};
@@ -172,7 +173,8 @@ static void registryHandleGlobalRemove(void* userData,
}
static const struct wl_registry_listener registryListener = {
static const struct wl_registry_listener registryListener =
{
registryHandleGlobal,
registryHandleGlobalRemove
};