Mercurial > emacs
comparison src/window.c @ 36809:126bac1a4495 EMACS_PRETEST_21_0_100
(Fset_window_configuration): Change call to
do_switch_frame to new format.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 14 Mar 2001 16:36:16 +0000 |
parents | f85346ef86be |
children | 9bf32a648127 |
comparison
equal
deleted
inserted
replaced
36808:678f9b758e49 | 36809:126bac1a4495 |
---|---|
5006 | 5006 |
5007 #if 0 /* I don't understand why this is needed, and it causes problems | 5007 #if 0 /* I don't understand why this is needed, and it causes problems |
5008 when the frame's old selected window has been deleted. */ | 5008 when the frame's old selected window has been deleted. */ |
5009 if (f != selected_frame && FRAME_WINDOW_P (f)) | 5009 if (f != selected_frame && FRAME_WINDOW_P (f)) |
5010 do_switch_frame (WINDOW_FRAME (XWINDOW (data->root_window)), | 5010 do_switch_frame (WINDOW_FRAME (XWINDOW (data->root_window)), |
5011 Qnil, 0); | 5011 0, 0); |
5012 #endif | 5012 #endif |
5013 | 5013 |
5014 /* Set the screen height to the value it had before this function. */ | 5014 /* Set the screen height to the value it had before this function. */ |
5015 if (previous_frame_height != FRAME_HEIGHT (f) | 5015 if (previous_frame_height != FRAME_HEIGHT (f) |
5016 || previous_frame_width != FRAME_WIDTH (f)) | 5016 || previous_frame_width != FRAME_WIDTH (f)) |
5054 reselect the proper frame here. Fhandle_switch_frame will change the | 5054 reselect the proper frame here. Fhandle_switch_frame will change the |
5055 selected window too, but that doesn't make the call to | 5055 selected window too, but that doesn't make the call to |
5056 Fselect_window above totally superfluous; it still sets f's | 5056 Fselect_window above totally superfluous; it still sets f's |
5057 selected window. */ | 5057 selected window. */ |
5058 if (FRAME_LIVE_P (XFRAME (data->selected_frame))) | 5058 if (FRAME_LIVE_P (XFRAME (data->selected_frame))) |
5059 do_switch_frame (data->selected_frame, Qnil, 0); | 5059 do_switch_frame (data->selected_frame, 0, 0); |
5060 | 5060 |
5061 if (! NILP (Vwindow_configuration_change_hook) | 5061 if (! NILP (Vwindow_configuration_change_hook) |
5062 && ! NILP (Vrun_hooks)) | 5062 && ! NILP (Vrun_hooks)) |
5063 call1 (Vrun_hooks, Qwindow_configuration_change_hook); | 5063 call1 (Vrun_hooks, Qwindow_configuration_change_hook); |
5064 } | 5064 } |