]> git.eshelyaron.com Git - emacs.git/commit
Fix xwidgets with XInput 2 builds
authorPo Lu <luangruo@yahoo.com>
Sat, 20 Nov 2021 11:54:51 +0000 (19:54 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 20 Nov 2021 11:56:22 +0000 (19:56 +0800)
commit3b68662a8226805c397f2a9dbd427a7ce716273b
tree256ad35be84431274eeca4779856fec900cf44a2
parenta3a3d3dd074850a11ade229fc65a07aaa3e44320
Fix xwidgets with XInput 2 builds

* src/xwidget.c (Fmake_xwidget): Refrain from synthesizing
a focus event here on XI2 builds.
(Fxwidget_perform_lispy_event): Try to set embedder on XI2
builds and do nothing otherwise.
(synthesize_focus_in_event): Use focus_change.window as opposed
to any.window.
(x_draw_xwidget_glyph_string): Synthesize focus event here
instead on XI2 builds.
src/xwidget.c