From 7f9a6855151d4ed590b00ddeb22a8724872435db Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Mon, 31 Oct 2022 01:30:08 +0000 Subject: [PATCH] sdlwindow: Add thread name to sdlwindow input thread --- src/sdlwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdlwindow.cpp b/src/sdlwindow.cpp index 837e1bf..ecf95ce 100644 --- a/src/sdlwindow.cpp +++ b/src/sdlwindow.cpp @@ -70,6 +70,8 @@ void updateOutputRefresh( void ) void inputSDLThreadRun( void ) { + pthread_setname_np( pthread_self(), "gamescope-sdl" ); + SDL_Event event; uint32_t key;