diff options
| author | Po Lu | 2022-06-19 11:35:12 +0800 |
|---|---|---|
| committer | Po Lu | 2022-06-19 11:35:12 +0800 |
| commit | fd853c71a958e3156014378fdd145e6e4d8c2717 (patch) | |
| tree | 207d1a23ea78a66fd7ff36323b69bfbebd1eda5e /src/coding.c | |
| parent | 3285901e9a87f083bf88ac732a3ed2eae6488fec (diff) | |
| download | emacs-fd853c71a958e3156014378fdd145e6e4d8c2717.tar.gz emacs-fd853c71a958e3156014378fdd145e6e4d8c2717.zip | |
Cache the Motif drag window to avoid fetching it every time
* src/xterm.c (xm_get_drag_window_1): New function.
(xm_get_drag_window): Cache the window. If it already exists,
just return it.
(xm_setup_dnd_targets): If a BadWindow error occurs, re-create
the Motif drag window.
* src/xterm.h (struct x_display_info): New field
`motif_drag_window'.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions