diff options
| author | YAMAMOTO Mitsuharu | 2019-04-23 17:27:04 +0900 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2019-04-23 17:27:04 +0900 |
| commit | 085929ca9309a170b5b4252448f1291e3db2b594 (patch) | |
| tree | 974993429e2cfa9b49e1ccf37045b3360fd7ec1b /src/kqueue.c | |
| parent | 6fa8d3c894062e7d3bde2d1ed35b40f2272e59f5 (diff) | |
| download | emacs-085929ca9309a170b5b4252448f1291e3db2b594.tar.gz emacs-085929ca9309a170b5b4252448f1291e3db2b594.zip | |
Release xft_data in widget destroy callback to avoid visual distraction
* lwlib/lwlib-int.h (struct _widget_instance) [HAVE_XFT]: Remove nr_xft_data.
* lwlib/lwlib-Xaw.c (find_xft_data, xaw_update_one_widget) [HAVE_XFT]: Loop
while widget member is not NULL instead of using nr_xft_data.
(xaw_destroy_instance) [HAVE_XFT]: Move xft_data release code from here ...
(destroy_xft_data) [HAVE_XFT]: ... to here.
(make_dialog) [HAVE_XFT]: Add destroy_xft_data as destroy callback for dialog.
Diffstat (limited to 'src/kqueue.c')
0 files changed, 0 insertions, 0 deletions