diff --git a/v2/internal/frontend/desktop/linux/window.go b/v2/internal/frontend/desktop/linux/window.go index 11e81ff09..bfba803ad 100644 --- a/v2/internal/frontend/desktop/linux/window.go +++ b/v2/internal/frontend/desktop/linux/window.go @@ -4,11 +4,10 @@ package linux /* -#cgo linux pkg-config: gtk+-3.0 webkit2gtk-4.0 x11 +#cgo linux pkg-config: gtk+-3.0 webkit2gtk-4.0 #include "gtk/gtk.h" #include "webkit2/webkit2.h" -#include #include #include @@ -106,11 +105,6 @@ ulong setupInvokeSignal(void* contentManager) { return g_signal_connect((WebKitUserContentManager*)contentManager, "script-message-received::external", G_CALLBACK(sendMessageToBackend), NULL); } -void initThreads() { - printf("init threads\n"); - XInitThreads(); -} - // These are the x,y & time of the last mouse down event // It's used for window dragging float xroot = 0.0f; @@ -418,7 +412,6 @@ func (w *Window) Run() { w.Maximise() } - C.initThreads() C.gtk_main() w.Destroy() }