--- /dev/null
+diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c
+index 16167e4..dd51990 100644
+--- a/tests/examples/seek/jsseek.c
++++ b/tests/examples/seek/jsseek.c
+@@ -3007,8 +3007,10 @@ main (int argc, char **argv)
+ * asks for the XID of the window to render onto */
+ gtk_widget_realize (window);
+
++#ifdef HAVE_X
+ /* we should have the XID now */
+ g_assert (embed_xid != 0);
++#endif
+
+ if (verbose) {
+ g_signal_connect (pipeline, "deep_notify",
SRC_URI_append_vuplus = " file://samihack.patch;patch=1 \
file://playbin2-Set-subtitle-encoding-on-the-decodebins-a.patch;patch=1 \
-file://playbin2-If-a-text-sink-is-provided-let-subtitle-p.patch;patch=1 "
+file://playbin2-If-a-text-sink-is-provided-let-subtitle-p.patch;patch=1 \
+file://jsseek_have_x.patch;patch=1 "
PR = "${INC_PR}.0"