Wayland: Remove duplicate setting of user data

The surface user data is already set by wl_surface_add_listener.

(cherry picked from commit 6d9083af03)
This commit is contained in:
Camilla Löwy 2022-11-03 20:58:15 +01:00
parent a29b5f38c6
commit 677fbb0f82

View File

@ -770,8 +770,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;