mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Wayland: Clean up listener struct initialization
Adapt style to match the rest of the project.
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user