]> git.eshelyaron.com Git - emacs.git/commit
Prevent crashes from Lisp code modifying xwidget-list
authorPo Lu <luangruo@yahoo.com>
Fri, 12 Nov 2021 01:53:30 +0000 (09:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 12 Nov 2021 01:53:30 +0000 (09:53 +0800)
commitfe0f7bddb648a75d1db4ea574536a207ea881712
treefab3ac2d99e7ee1dd877d9e1eb579ea769d557f3
parent554a875493680f8b52821267ee88e191d462ea36
Prevent crashes from Lisp code modifying xwidget-list

* src/xwidget.c (internal_xwidget_view_list)
(internal_xwidget_list): New variable.

(find_xwidget_for_offscreen_window)
(define_cursors, offscreen_damage_event)
(webkit_ready_to_show, xwidget_init_view)
(Fxwidget_resize, Fdelete_xwidget_view)
(Fxwidget_view_lookup, xwidget_spec_value)
(lookup_xwidget, xwidget_end_redisplay)
(kill_frame_xwidget_views, kill_buffer_xwidgets)
(Fmake_xwidget, Fget_buffer_xwidgets): Use internal list.

(syms_of_xwidget): Initialize internal xwidget lists.
src/xwidget.c