diff options
| author | Po Lu | 2021-12-22 09:24:05 +0800 |
|---|---|---|
| committer | Po Lu | 2021-12-22 09:24:05 +0800 |
| commit | 026804b60631d4766bb99bf94a4ad04e13ae0d07 (patch) | |
| tree | bc432886755f9abaf3777cbd20f9af64276a4dae /src | |
| parent | 4b7e73432cd07612e5225189e18696f755c8f954 (diff) | |
| download | emacs-026804b60631d4766bb99bf94a4ad04e13ae0d07.tar.gz emacs-026804b60631d4766bb99bf94a4ad04e13ae0d07.zip | |
Fix GTK crash when clicking on xwidgets on XI2
* src/xterm.c (handle_one_xevent): Drop button events destined
for an xwidget.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 8618a986798..33396cc9ab4 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -9704,6 +9704,8 @@ handle_one_xevent (struct x_display_info *dpyinfo, | |||
| 9704 | inev.ie.kind = SELECT_WINDOW_EVENT; | 9704 | inev.ie.kind = SELECT_WINDOW_EVENT; |
| 9705 | inev.ie.frame_or_window = xvw->w; | 9705 | inev.ie.frame_or_window = xvw->w; |
| 9706 | } | 9706 | } |
| 9707 | |||
| 9708 | *finish = X_EVENT_DROP; | ||
| 9707 | goto OTHER; | 9709 | goto OTHER; |
| 9708 | } | 9710 | } |
| 9709 | #endif | 9711 | #endif |