1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 12:18:51 -05:00

Wayland: Remove duplicate setting of user data

The surface user data is already set by wl_surface_add_listener.
This commit is contained in:
Camilla Löwy 2022-11-03 20:58:15 +01:00
parent 4cf510511c
commit 6d9083af03

View File

@ -733,8 +733,6 @@ static GLFWbool createNativeSurface(_GLFWwindow* window,
&surfaceListener, &surfaceListener,
window); window);
wl_surface_set_user_data(window->wl.surface, window);
window->wl.width = wndconfig->width; window->wl.width = wndconfig->width;
window->wl.height = wndconfig->height; window->wl.height = wndconfig->height;
window->wl.scale = 1; window->wl.scale = 1;