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,
window);
wl_surface_set_user_data(window->wl.surface, window);
window->wl.width = wndconfig->width;
window->wl.height = wndconfig->height;
window->wl.scale = 1;