Wayland: Clean up listener struct initialization

Adapt style to match the rest of the project.

(cherry picked from commit 0f38382e25)
This commit is contained in:
Camilla Löwy
2022-03-31 22:17:08 +02:00
parent 50d5de7cd4
commit 2b504e41d5
3 changed files with 27 additions and 14 deletions
+4 -2
View File
@@ -48,7 +48,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
};
@@ -164,7 +165,8 @@ static void registryHandleGlobalRemove(void* userData,
}
static const struct wl_registry_listener registryListener = {
static const struct wl_registry_listener registryListener =
{
registryHandleGlobal,
registryHandleGlobalRemove
};