Prevent xwidget windows from obscuring child frames

* src/xwidget.c (x_draw_xwidget_glyph_string): Lower view window
when creating it.
This commit is contained in:
Po Lu 2021-11-16 09:30:32 +08:00
parent a17e3976a8
commit 7cfc3f34bb

View 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,