mirror of
https://github.com/glfw/glfw.git
synced 2026-09-17 22:32:50 +00:00
wayland: Add basic input support
This commit is contained in:
@@ -65,6 +65,8 @@ static GLboolean createSurface(_GLFWwindow* window,
|
||||
if (!window->wl.surface)
|
||||
return GL_FALSE;
|
||||
|
||||
wl_surface_set_user_data(window->wl.surface, window);
|
||||
|
||||
window->wl.native = wl_egl_window_create(window->wl.surface,
|
||||
wndconfig->width,
|
||||
wndconfig->height);
|
||||
|
||||
Reference in New Issue
Block a user