Commit 649a33ae47d90ae4d93adcb2cecee27751c663c3

Sylvain 2021-10-18T23:00:43

X11: remove redundant 'wakeup_lock' mutex creation

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/x11/SDL_x11video.c b/src/video/x11/SDL_x11video.c
index f1d1041..eb3ecc3 100644
--- a/src/video/x11/SDL_x11video.c
+++ b/src/video/x11/SDL_x11video.c
@@ -184,7 +184,6 @@ X11_CreateDevice(int devindex)
         return NULL;
     }
     device->driverdata = data;
-    device->wakeup_lock = SDL_CreateMutex();
 
     data->global_mouse_changed = SDL_TRUE;