Subject: Re: bug#31373: 26.1; frame-list-z-order segfaults on initial daemon frame

From: martin rudalics <[email-masked]>
Date: Mon, 07 May 2018 08:26:01 +0200

-	    if (XFRAME (frame)->output_data.x->parent_desc == children[i]
-		|| FRAME_OUTER_WINDOW (XFRAME (frame)) == children[i])
+            if (FRAME_X_P (frame)
+                && (XFRAME (frame)->output_data.x->parent_desc == children[i]
+                    || FRAME_OUTER_WINDOW (XFRAME (frame)) == children[i]))

Thank you.  Eli, I think Noam should push this to 26.1, if still
possible.

martin