]> git.eshelyaron.com Git - emacs.git/commitdiff
Process editres events not for frames correctly
authorPo Lu <luangruo@yahoo.com>
Sat, 30 Apr 2022 07:57:11 +0000 (15:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 30 Apr 2022 07:58:33 +0000 (15:58 +0800)
* src/xterm.c (handle_one_xevent): Dispatch Editres events to
interested widgets.

src/xterm.c

index e52f19a8e3fbf69c73b652dd839a4d81c4bf5005..6d658cf20423197ff5dd1e9d5e9412ef0bf103d3 100644 (file)
@@ -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 */