mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00:00
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:
parent
a29b5f38c6
commit
677fbb0f82
@ -770,8 +770,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;
|
||||
|
Loading…
Reference in New Issue
Block a user