Mercurial > hg > xemacs-beta
comparison src/frame-x.c @ 1024:ccaf90c5a53a
[xemacs-hg @ 2002-10-02 09:29:37 by stephent]
21.4 -> R21.5 stuff
manual improvements <87k7l1p6su.fsf@tleepslib.sk.tsukuba.ac.jp>
regexp tests <87fzvpp6mf.fsf@tleepslib.sk.tsukuba.ac.jp>
add-to-list doc Ville Skyttä <87bs6dp6io.fsf@tleepslib.sk.tsukuba.ac.jp>
Move filename associations Ville Skyttä <877kh1p6ee.fsf@tleepslib.sk.tsukuba.ac.jp>
lookup-syntax-properties <87admil2e0.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
fix stale submatches <873crpp50v.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
info for developers <87y99hnqc4.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Wed, 02 Oct 2002 09:31:40 +0000 |
parents | 79c6ff3eef26 |
children | e22b0213b713 |
comparison
equal
deleted
inserted
replaced
1023:ce9bdd48654f | 1024:ccaf90c5a53a |
---|---|
2642 | 2642 |
2643 assert (FRAME_X_SHELL_WIDGET (f) != 0); | 2643 assert (FRAME_X_SHELL_WIDGET (f) != 0); |
2644 dpy = XtDisplay (FRAME_X_SHELL_WIDGET (f)); | 2644 dpy = XtDisplay (FRAME_X_SHELL_WIDGET (f)); |
2645 | 2645 |
2646 #ifdef EXTERNAL_WIDGET | 2646 #ifdef EXTERNAL_WIDGET |
2647 expect_x_error (XtDisplay (FRAME_X_SHELL_WIDGET (f))); | 2647 expect_x_error (dpy); |
2648 /* for obscure reasons having (I think) to do with the internal | 2648 /* for obscure reasons having (I think) to do with the internal |
2649 window-to-widget hierarchy maintained by Xt, we have to call | 2649 window-to-widget hierarchy maintained by Xt, we have to call |
2650 XtUnrealizeWidget() here. Xt can really suck. */ | 2650 XtUnrealizeWidget() here. Xt can really suck. */ |
2651 if (f->being_deleted) | 2651 if (f->being_deleted) |
2652 XtUnrealizeWidget (FRAME_X_SHELL_WIDGET (f)); | 2652 XtUnrealizeWidget (FRAME_X_SHELL_WIDGET (f)); |
2653 XtDestroyWidget (FRAME_X_SHELL_WIDGET (f)); | 2653 XtDestroyWidget (FRAME_X_SHELL_WIDGET (f)); |
2654 x_error_occurred_p (XtDisplay (FRAME_X_SHELL_WIDGET (f))); | 2654 x_error_occurred_p (dpy); |
2655 #else | 2655 #else |
2656 XtDestroyWidget (FRAME_X_SHELL_WIDGET (f)); | 2656 XtDestroyWidget (FRAME_X_SHELL_WIDGET (f)); |
2657 /* make sure the windows are really gone! */ | 2657 /* make sure the windows are really gone! */ |
2658 /* #### Is this REALLY necessary? */ | 2658 /* #### Is this REALLY necessary? */ |
2659 XFlush (dpy); | 2659 XFlush (dpy); |