From 6d9083af03d04996829b02316770ad755fb6252c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 3 Nov 2022 20:58:15 +0100 Subject: [PATCH] Wayland: Remove duplicate setting of user data The surface user data is already set by wl_surface_add_listener. --- src/wl_window.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wl_window.c b/src/wl_window.c index b49ebc50..697b6a0e 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -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;