mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Wayland: Cleanup
This commit is contained in:
parent
2877fea550
commit
040712ce99
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user