| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
matrices are being changed.
|
| |
|
|
| |
out of range position.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
(save_restore_orig_size): Change parameter list. Add
functionality to check for valid orig_top and orig_height members
in a window tree.
(grow_mini_window): Call save_restore_orig_size with new parameter
list.
(shrink_mini_window): Restore old window sizes only if old
size information is valid in all windows in a window tree.
|
| |
|
|
|
|
|
|
|
| |
selected_window.
(Fdisplay_buffer): Call it with window parameter instead of
setting selected_window.
(Fenlarge_window, Fshrink_window): Ditto.
(shrink_mini_window): If there is no recorded height and position
info, resize mini-window to height 1.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(change_window_height): Call window_min_size with new parameter.
(shrink_window_lowest_first, save_restore_orig_size,
grow_mini_window, shrink_mini_window): New.
(make_window, replace_window): Initialize orig_top and
orig_height.
(enlarge_window): Renamed from change_window_height. Make it
static.
(Fdisplay_buffer, Fenlage_window, Fshrink_window): Call
enlarge_window instead of change_window_height.
|
| |
|
|
|
|
| |
(Fset_window_margins): Ditto.
(window_fixed_size_p): Check window's height_fixed_p
flag.
|
| |
|
|
|
|
|
| |
selected_frame.
(Fwindow_at, Fprevious_window, window_loop, select_window_1,
display_buffer_1, Fdisplay_buffer, temp_output_buffer_show,
Fcurrent_window_configuration, init_window_once): Ditto.
|
| |
|
|
|
| |
(set_window_buffer): Call Fset_window_margins with window as first
argument.
|
| |
|
|
|
|
| |
amount to scroll the second. Take non-negative vscroll as
argument.
(Fwindow_vscroll): Return non-negative vscroll.
|
| |
|
|
|
| |
`top-line' and `top_line' to `header-line' and `header_line'.
Likewise for similar spellings.
|
| |
|
|
| |
Likewise for upper-case etc.
|
| |
|
|
|
|
| |
(window_fixed_size_p): Use Qwindow_size_fixed instead of
Qfixed_window_size.
(syms_of_window): Ditto.
|
| |
|
|
|
|
|
|
| |
(freeze_window_start, freeze_window_starts): New.
(make_window): Initialize frozen_window_start_p.
(replace_window): Ditto.
(Fset_window_point): Remove references to deleted variables.
(Fset_window_start): Ditto.
|
| |
|
|
|
|
| |
FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH.
(window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once
instead of twice.
|
| | |
|
| |
|
|
|
| |
(Fset_window_start): Ditto.
(set_window_buffer): Ditto.
|
| |
|
|
|
|
|
| |
prevent_redisplay_optimizations_p instead of clip_changed.
(Fset_window_hscroll): Ditto.
(temp_output_buffer_show): Ditto.
(Fset_window_vscroll): Ditto.
|
| |
|
|
| |
new parameter.
|
| |
|
|
|
|
|
|
|
| |
and `right-bitmap-area' if position is in the bitmap areas. This
avoids an error when clicking on the bitmap areas. Instead, they
are currently treated like clicks inside the window.
(coordinates_in_window): Return 5 and 6 for bitmap areas.
(Qleft_bitmap_area, Qright_bitmap_area): New.
(syms_of_window): Initialize new symbols.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(syms_of_window): Initialiaze it.
(check_all_windows): Add return type void.
(window_fixed_size_p): New. Return non-zero if window
is fixed-size.
(window_min_size_1): New.
(window_min_size): Handle fixed-size windows.
(size_window): New. Rewritten combination of set_window_height and
set_window_width that handles fixed-size windows.
(set_window_height): Call it.
(set_window_width): Call it.
(Fsplit_window): Give an error on attempt to split a fixed-size
window.
(change_window_height): Partly rewritten to handle fixed-size
windows.
|
| |
|
|
|
|
| |
If window starts out "too small", set its too_small_ok flag.
If window's too_small_ok flag is set, don't delete it
unless it is so small it would cause a crash.
|
| |
|
|
|
|
| |
(window_min_size): New.
(set_window_height): Use window_min_size.
(change_window_height): Ditto.
|
| |
|
|
| |
by "same-window" buffers in a dedicated frame.
|
| |
|
|
| |
x_set_toolbar_lines.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(scroll_command): If not acting on current_buffer,
make redisplay consider all windows.
(coordinates_in_window): Rewritten.
(Fdelete_other_windows): Use FRAME_TOP_MARGIN
instead of FRAME_MENU_BAR_LINES.
(check_frame_size): Ditto.
(struct save_window_data): Add frame_toolbar_lines.
(Fcurrent_window_configuration): Save toolbar lines.
(window_from_coordinates): Rewritten.
(Vscroll_preserve_screen_position): Replacement for
scroll_preserve_screen_position.
(window_scroll_pixel_based): New.
(Fsplit_window): Rewritten.
(window_internal_width): Rewritten.
(set_window_buffer): Extracted from Fset_window_buffer,
with an additional argument specifying whether or not hooks may
be called.
(Fset_window_buffer): Call it.
(Fset_window_vscroll): New.
(Fwindow_vscroll): New.
(Fpos_visible_in_window_p): Rewrite.
(change_window_height): Return void.
(make_dummy_parent): Return void.
(init_window_once): Return void.
(syms_of_window): Ditto.
(keys_of_window): Ditto.
(delete_window): Correct return with and without value.
(unshow_buffer): Return void.
(delete_window): Ditto.
(set_window_height): Return void.
(set_window_width): Ditto.
(get_phys_cursor_glyph): New.
(change_window_height): Ditto.
(Fset_window_margins): Ditto.
(window_scroll_line_based): Formerly window_scroll.
(window_scroll): Call both.
(window_topmost_p, window_rightmost_p): Removed because not used.
(Fset_window_margins): New.
(Fwindow_margins): New.
(make_window): Rewritten.
(replace_window): Rewritten.
(Fset_window_configuration): Rewritten.
(get_leaf_windows): New.
(Fdelete_window): Free window matrices.
(Fdelete_window): Adjust glyphs.
(change_window_height): Ditto.
|
| |
|
|
| |
current buffer is not its buffer, don't use Fgoto_char.
|
| |
|
|
|
|
| |
don't do save-excursion, just restore selected window.
(window_loop): For UNSHOW_BUFFER, always do consider minibuffer windows.
|
| |
|
|
|
|
|
|
|
|
|
| |
(check_all_windows): New function for debugging tests.
(syms_of_window): Initialize it.
(Qwindow_configuration_p): New variable.
(Fwindow_configuration_frame): New function.
(syms_of_window): defsubr it.
(Fset_window_configuration): Return t if frame is live.
Use Qwindow_configuration_p.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
and nil to t, but don't change other values.
|
| |
|
|
|
|
| |
(select_window_1): New subroutine, from Fselect_window.
(Fselect_window): Use select_window_1.
(temp_output_buffer_show): Use select_window_1.
|
| | |
|
| |
|
|
|
| |
(temp_output_buffer_show): Make the temp buffer current
before running Qtemp_buffer_show_hook.
|
| | |
|
| | |
|
| |
|
|
| |
and int.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
(Fwindow_end): New arg UPDATE.
(Fset_window_configuration): Don't call do_switch_frame
or run Qwindow_configuration_change_hook if frame is dead.
|
| |
|
|
|
| |
(Fcompare_window_configurations): New function.
(syms_of_window): defsubr it.
|
| |
|
|
|
| |
(temp_output_buffer_show): Pass new arg to Fdisplay_buffer.
(Fother_window_for_scrolling): Likewise.
|
| | |
|
| | |
|