1. 30 Jul, 1993 1 commit
  2. 26 Jul, 1993 1 commit
  3. 18 Jul, 1993 1 commit
    • Jim Blandy's avatar
      * window.c [not MULTI_FRAME] (Fdelete_windows_on): Set FRAME · 26f6279d
      Jim Blandy authored
      	argument to Qt, instead of trying to typecheck it.
      
      	* window.c (Fdelete_windows_on): New optional argument FRAME; if
      	nil, delete windows on all frames.  If t, delete windows on the
      	selected frame only.  If a frame, delete windows on that frame
      	only.
      
      	* window.c (Fnext_window, Fprevious_window): Put these docstrings
      	in comments; the strings are too long for some C compilers.
      26f6279d
  4. 17 Jun, 1993 2 commits
    • Jim Blandy's avatar
      Don't let the 'B' interactive spec default to buffers viewed in · 1bc981d2
      Jim Blandy authored
      	any visible frame.
      	* buffer.c (Fother_buffer): Pass Qt as the second argument
      	to Fget_buffer_window.
      	* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
      	non-visible frames.
      	(Fget_buffer_window): Change doc string to mention that passing Qt
      	for the FRAME argument returns windows on visible frames only.
      	(Qvisible): Removed.
      1bc981d2
    • Jim Blandy's avatar
      Don't let the 'B' interactive spec default to buffers viewed in · 75d8f668
      Jim Blandy authored
      	any visible frame.
      	* buffer.c (Fother_buffer): Pass Qvisible as the second argument
      	to Fget_buffer_window.
      	* window.c (Qvisible): New symbol.
      	(window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible,
      	ignore non-visible frames.
      	(Fget_buffer_window): Expand doc string to mention that Qvisible
      	is an interesting value for FRAME argument.
      	(syms_of_window): Init and staticpro Qvisible.
      	* lisp.h (Qvisible): New declaration.
      75d8f668
  5. 16 Jun, 1993 1 commit
  6. 14 Jun, 1993 1 commit
  7. 12 Jun, 1993 2 commits
  8. 11 Jun, 1993 1 commit
  9. 10 Jun, 1993 1 commit
  10. 07 Jun, 1993 1 commit
  11. 31 May, 1993 1 commit
  12. 27 May, 1993 1 commit
  13. 22 May, 1993 1 commit
  14. 18 May, 1993 1 commit
  15. 08 May, 1993 1 commit
  16. 04 May, 1993 1 commit
  17. 25 Apr, 1993 1 commit
  18. 21 Mar, 1993 1 commit
  19. 16 Mar, 1993 1 commit
  20. 15 Mar, 1993 1 commit
  21. 02 Mar, 1993 1 commit
  22. 22 Feb, 1993 1 commit
  23. 30 Jan, 1993 1 commit
  24. 26 Jan, 1993 1 commit
  25. 19 Jan, 1993 1 commit
  26. 14 Jan, 1993 2 commits
    • Richard M. Stallman's avatar
      (Fwindow_at): Doc fix. · b0c33a94
      Richard M. Stallman authored
      b0c33a94
    • Jim Blandy's avatar
      * window.c (window_internal_width): New function, which accounts · 535e0b8e
      Jim Blandy authored
      	for scrollbars if present.
      	* lisp.h (window_internal_height, window_internal_width): Add
      	extern declarations for these.
      	* dispnew.c (direct_output_for_insert, direct_output_forward_char,
      	buffer_posn_from_coords): Use window_internal_width instead of
      	writing out its definition.
      	* indent.c (compute_motion): Doc fix; mention scrollbars and
      	window_internal_width.
      	(pos_tab_offset, Fvertical_motion): Use window_internal_width
      	instead of writing it out.
      	* window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left,
      	Fscroll_right): Same.
      	* xdisp.c (redisplay, try_window, try_window_id,
      	display_text_line): Same.
      
      	* termhooks.h (mouse_position_hook): Doc fix.
      	(set_vertical_scrollbar_hook): This doesn't return anything any
      	more, and doesn't take a struct scrollbar * argument any more.
      	(condemn_scrollbars_hook, redeem_scrollbar_hook,
      	judge_scrollbars_hook): Doc fixes.
      	* term.c (mouse_position_hook): Doc fix.
      	(set_vertical_scrollbar_hook): This doesn't return
      	anything any more.  Doc fixes.
      	* keyboard.c (kbd_buffer_get_event): Receive the scrollbar's
      	window from *mouse_position_hook and pass it to
      	make_lispy_movement, instead of working with a pointer to a struct
      	scrollbar.
      	(make_lispy_event): We don't need a window_from_scrollbar function
      	anymore; we are given the window directly in *EVENT.
      	Unify the code which generates
      	text-area mouse clicks and scrollbar clicks; use the same code to
      	distinguish clicks from drags on the scrollbar as in the text area.
      	Distinguish clicks from drags by storing a copy of the lispy
      	position list returned as part of the event.
      	(button_down_location): Make this a lisp vector, rather than an
      	array of random structures.
      	(struct mouse_position): Remove this; it's been replaced by a lisp
      	list.
      	(make_lispy_movement): Accept the scrollbar's window as a
      	parameter, rather than the scrollbar itself.
      	If FRAME is zero, assume that the other arguments are garbage.
      	(syms_of_keyboard): No need to staticpro each window of
      	button_down_location now; just initialize and staticpro it.
      	* window.c (window_from_scrollbar): Function deleted; no longer
      	needed.
      	* xdisp.c (redisplay_window): Just pass the window to
      	set_vertical_scrollbar hook; don't pass the scrollbar object too.
      	* xterm.c (XTmouse_position): Don't return a pointer to the
      	scrollbar for scrollbar motion; instead, return the scrollbar's
      	window.
      535e0b8e
  27. 24 Dec, 1992 1 commit
    • Jim Blandy's avatar
      * keyboard.c (Qscrollbar_movement, Qvertical_scrollbar, · db269683
      Jim Blandy authored
      	Qabove_handle, Qhandle, Qbelow_handle): New symbols.
      	(make_lispy_event): New code to build scrollbar clicks.
      	(make_lispy_movement): New code to handle scrollbar movement.
      	(head_table): Include Qscrollbar_movement in the event heads.
      	(syms_of_keyboard): Init and staticpro Qvertical_scrollbar,
      	Qabove_handle, Qhandle, and Qbelow_handle.
      	* keyboard.h (Qscrollbar_movement): Declare this along with the
      	other event types.
      	* lisp.h (Qvertical_scrollbar): Declare this.
      	* window.c (window_from_scrollbar): New function.
      
      	* window.c (Fset_window_configuration): Don't restore the frame's
      	focus redirection if the target frame is now dead.
      db269683
  28. 12 Dec, 1992 1 commit
    • Jim Blandy's avatar
      * window.c (Fset_window_configuration): If we're restoring the · fd482be5
      Jim Blandy authored
      	configuration of a dead frame, don't bother rebuilding its window
      	tree, restoring its focus redirection, or temporarily resizing it
      	to fit the saved window configuration.  If the frame which was
      	selected when the configuration was captured is now dead, don't
      	try to select it.
      
      	* frame.c (Fdelete_frame): Delete all the windows in the frame's
      	window tree, using delete_all_subwindows.
      	* window.c (delete_all_subwindows): Don't make this static
      	anymore.
      fd482be5
  29. 07 Nov, 1992 1 commit
  30. 31 Oct, 1992 1 commit
  31. 19 Oct, 1992 1 commit
    • Jim Blandy's avatar
      * window.c: Try to deal coherently with deleted windows: · 605be8af
      Jim Blandy authored
      *	(Flive_window_p): New function.
      	(Qlive_window_p): New variable, to name it in type errors.
      	(syms_of_window): Defsubr Slive_window_p, init and staticpro
      	Qlive_window_p.
      	(decode_window): Use CHECK_LIVE_WINDOW instead of
      	CHECK_WINDOW; the only thing a user should be able to do to a dead
      	window is check its type.
      	(Fcoordinates_in_window_p, Fnext_window, Fprevious_window,
      	Fdelete_other_windows, Fselect_window, Fsplit_window,
      	Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of
      	CHECK_WINDOW.
      	(Fdelete_window): If WINDOW is a deleted window, do nothing;
      	there's no harm in allowing people to delete deleted windows.
      	Delete all of WINDOW's subwindows, too.
      	(delete_all_subwindows): Set the buffer, vchild, and hchild of the
      	windows we delete all to nil.
      
      	* window.c (Fwindow_minibuffer_p): Make the WINDOW argument
      	optional, like all the other window-querying functions.
      
      	* window.c (Fpos_visible_in_window_p): Use decode_window to handle
      	the WINDOW argument, instead of writing out that function's code.
      
      	* window.c (check_frame_size): Don't define this extern; that
      	doesn't mean anything.
      
      	* window.c (Fdelete_window): Choose an alternative when we delete
      	any frame's selected window, not just when we delete the selected
      	frame's selected window.
      605be8af
  32. 06 Oct, 1992 1 commit
  33. 05 Oct, 1992 1 commit
  34. 03 Oct, 1992 2 commits
    • Jim Blandy's avatar
      * window.c (SAVE_WINDOW_DATA_SIZE): Define this using sizeof, · ff06df24
      Jim Blandy authored
      	instead of just saying it's 7; that way, we won't get screwed if
      	we add members to struct save_window_data.
      
      	* window.c (Fset_window_configuration): The pointer to the
      	saved window data is called `data', not just `d'.
      ff06df24
    • Jim Blandy's avatar
      * window.c (struct save_window_data): Save the currently selected · bdc727bf
      Jim Blandy authored
      	frame, too.
      	(Fset_window_configuration): Restore the frame's selected window
      	using Fselect_window, and then restore the selected frame using
      	Fselect_frame.
      	(Fcurrent_window_configuration): Record the currently selected
      	frame.  Update docstring to describe the information now recorded.
      
      	* window.c (Fset_window_configuration): Clean up the way we save
      	and restore the frame's size.
      
              * window.c (struct save_window_data): Add a member called
      	focus_frame, to save and restore the screen's focus frame.
      	(Fset_window_configuration): Redirect the frame's focus as
      	indicated in the window configuration.
      	(Fcurrent_window_configuration): Record the frame's current focus.
      bdc727bf
  35. 30 Sep, 1992 1 commit
  36. 28 Sep, 1992 1 commit
    • Jim Blandy's avatar
      * window.c (delete_all_subwindows): Save the window's buffer in · 9ace597f
      Jim Blandy authored
      	its `height' field; we may need to know the window's old buffer
      	once we have restored it from a window configuration.
      	Fset_window_configuration): When we restore a window, if its
      	`height' field is a buffer, restore its `buffer' field from that.
      	This allows us to leave the window's buffer unchanged if the
      	buffer recorded in the configuration is dead.
      
      	* window.c (delete_all_subwindows): Removed unused variable named
      	"count".
      9ace597f