From: Po Lu Date: Tue, 16 Nov 2021 01:30:32 +0000 (+0800) Subject: Prevent xwidget windows from obscuring child frames X-Git-Tag: emacs-29.0.90~2852^2~267 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cfc3f34bb138def9a1e5b5bce2173b7bb884ad5;p=emacs.git Prevent xwidget windows from obscuring child frames * src/xwidget.c (x_draw_xwidget_glyph_string): Lower view window when creating it. --- diff --git a/src/xwidget.c b/src/xwidget.c index 3bf4f12799a..008eb07bcae 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -1683,6 +1683,7 @@ x_draw_xwidget_glyph_string (struct glyph_string *s) clip_bottom - clip_top, 0, CopyFromParent, CopyFromParent, CopyFromParent, CWEventMask, &a); + XLowerWindow (xv->dpy, xv->wdesc); XDefineCursor (xv->dpy, xv->wdesc, xv->cursor); xv->cr_surface = cairo_xlib_surface_create (xv->dpy, xv->wdesc,