From c96e835d569965a7f42cb12063614e636bd73c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 8 May 2023 15:58:15 +0200 Subject: [PATCH] thread/impl: Set the task source priority to rather high Tasks should have high, but not highest priority. Roughly the aim is page flip feedback > composited updates > cursor updates Part-of: --- src/backends/native/meta-thread-impl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/native/meta-thread-impl.c b/src/backends/native/meta-thread-impl.c index 123859146..b804dd2b6 100644 --- a/src/backends/native/meta-thread-impl.c +++ b/src/backends/native/meta-thread-impl.c @@ -200,6 +200,7 @@ create_impl_source (MetaThreadImpl *thread_impl) g_source_set_name (source, source_name); impl_source = (MetaThreadImplSource *) source; impl_source->thread_impl = thread_impl; + g_source_set_priority (source, G_PRIORITY_HIGH + 2); g_source_attach (source, priv->thread_context); g_source_unref (source);