From 08c6e699f662b40e92ae7b76745236d1c092757a Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 30 Apr 2022 15:57:11 +0800 Subject: [PATCH] Process editres events not for frames correctly * src/xterm.c (handle_one_xevent): Dispatch Editres events to interested widgets. --- src/xterm.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index e52f19a8e3f..6d658cf2042 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14342,9 +14342,13 @@ handle_one_xevent (struct x_display_info *dpyinfo, { f = any; if (f) - _XEditResCheckMessages (f->output_data.x->widget, - NULL, (XEvent *) event, NULL); - goto done; + { + _XEditResCheckMessages (f->output_data.x->widget, + NULL, (XEvent *) event, NULL); + goto done; + } + + goto OTHER; } #endif /* X_TOOLKIT_EDITRES */ -- 2.39.2