]> git.eshelyaron.com Git - emacs.git/commitdiff
Prevent xwidget windows from obscuring child frames
authorPo Lu <luangruo@yahoo.com>
Tue, 16 Nov 2021 01:30:32 +0000 (09:30 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 16 Nov 2021 01:32:37 +0000 (09:32 +0800)
* src/xwidget.c (x_draw_xwidget_glyph_string): Lower view window
when creating it.

src/xwidget.c

index 3bf4f12799a7c6ca4137ac834288edef76f4cdfa..008eb07bcae5d8f4aa774beab0ca262670882065 100644 (file)
@@ -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,