Skip to content

Commit

Permalink
Fix blocking shutdown app with LibInput (#13677)
Browse files Browse the repository at this point in the history
Seeung authored and maxkatz6 committed Dec 5, 2023
1 parent 40d50b1 commit 30aa69f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -19,7 +19,10 @@ public partial class LibInputBackend : IInputBackend
public LibInputBackend()
{
var ctx = libinput_path_create_context();
new Thread(() => InputThread(ctx)).Start();
new Thread(() => InputThread(ctx))
{
IsBackground = true
}.Start();
}

private unsafe void InputThread(IntPtr ctx)

0 comments on commit 30aa69f

Please sign in to comment.