Fri Jun 9 22:33:29 PDT 2000 Michael Jennings <mej@eterm.org>
Fixed a seg fault when resizing to one row while on the secondary screen. I have no clue how that bug crept in there all of a sudden, but thanks to Marius Gedminas <mgedmin@takas.lt> for pointing it out. SVN revision: 2772
This commit is contained in:
parent
9286591200
commit
63a63fbec3
|
@ -3662,3 +3662,10 @@ Thu Jun 1 20:05:49 PDT 2000 Michael Jennings <mej@eterm.org>
|
||||||
stupid part is that I already KNEW that! *slaps self*
|
stupid part is that I already KNEW that! *slaps self*
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
Fri Jun 9 22:33:29 PDT 2000 Michael Jennings <mej@eterm.org>
|
||||||
|
|
||||||
|
Fixed a seg fault when resizing to one row while on the secondary
|
||||||
|
screen. I have no clue how that bug crept in there all of a sudden,
|
||||||
|
but thanks to Marius Gedminas <mgedmin@takas.lt> for pointing it out.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
|
@ -504,8 +504,8 @@ rather than a shell.
|
||||||
.SH THEMES
|
.SH THEMES
|
||||||
|
|
||||||
Eterm is built on the philosophy of Freedom of Choice. Each user should be
|
Eterm is built on the philosophy of Freedom of Choice. Each user should be
|
||||||
able to choose the environment in which he wishes to exist, and the tools he
|
able to choose the environment in which he or she wishes to exist, and the tools
|
||||||
uses should support that. In accordance with that philosophy, Eterm is
|
used should support that. In accordance with that philosophy, Eterm is
|
||||||
extremely configurable. Eterm supports a concept called "themes," which should
|
extremely configurable. Eterm supports a concept called "themes," which should
|
||||||
be familiar to users of Enlightenment, icewm, or Microsoft Windows 95/98/NT.
|
be familiar to users of Enlightenment, icewm, or Microsoft Windows 95/98/NT.
|
||||||
The general concept of a theme is a collection of resources that change as many
|
The general concept of a theme is a collection of resources that change as many
|
||||||
|
|
|
@ -319,7 +319,6 @@ scr_reset(void)
|
||||||
prev_ncol = TermWin.ncol;
|
prev_ncol = TermWin.ncol;
|
||||||
|
|
||||||
tt_resize();
|
tt_resize();
|
||||||
|
|
||||||
if (chscr) {
|
if (chscr) {
|
||||||
scr_change_screen(chscr);
|
scr_change_screen(chscr);
|
||||||
}
|
}
|
||||||
|
@ -466,6 +465,7 @@ scr_change_screen(int scrn)
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return scrn;
|
return scrn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1660,6 +1660,9 @@ scr_refresh(int type)
|
||||||
draw_string = XDrawString;
|
draw_string = XDrawString;
|
||||||
draw_image_string = XDrawImageString;
|
draw_image_string = XDrawImageString;
|
||||||
|
|
||||||
|
BOUND(screen.row, 0, TermWin.nrow - 1);
|
||||||
|
BOUND(screen.col, 0, TermWin.ncol - 1);
|
||||||
|
|
||||||
row = screen.row + TermWin.saveLines;
|
row = screen.row + TermWin.saveLines;
|
||||||
col = screen.col;
|
col = screen.col;
|
||||||
if (screen.flags & Screen_VisibleCursor) {
|
if (screen.flags & Screen_VisibleCursor) {
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
/* Scrollbar dimensions */
|
/* Scrollbar dimensions */
|
||||||
#define scrollbar_scrollarea_height() (scrollbar.scrollarea_end - scrollbar.scrollarea_start)
|
#define scrollbar_scrollarea_height() (scrollbar.scrollarea_end - scrollbar.scrollarea_start)
|
||||||
#define scrollbar_anchor_width() ((scrollbar.type == SCROLLBAR_XTERM) ? (scrollbar.win_width) : (scrollbar.width))
|
#define scrollbar_anchor_width() ((scrollbar.type == SCROLLBAR_XTERM) ? (scrollbar.win_width) : (scrollbar.width))
|
||||||
#define scrollbar_anchor_height() (scrollbar.anchor_bottom - scrollbar.anchor_top)
|
#define scrollbar_anchor_height() (MAX((scrollbar.anchor_bottom - scrollbar.anchor_top), 2))
|
||||||
#define scrollbar_trough_width() (scrollbar.win_width)
|
#define scrollbar_trough_width() (scrollbar.win_width)
|
||||||
#define scrollbar_trough_height() (scrollbar.win_height)
|
#define scrollbar_trough_height() (scrollbar.win_height)
|
||||||
#define scrollbar_arrow_width() (scrollbar.width)
|
#define scrollbar_arrow_width() (scrollbar.width)
|
||||||
|
|
Loading…
Reference in New Issue