mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Revert "Ticket #2453: aggressive screen repaint"
This reverts commit f809e6cf7a
.
While navigating in main menu (from one submenu to another one)
or after closing a dialog, the screen is blinking.
This commit is contained in:
parent
2aa5f4adcc
commit
17033652ee
@ -280,14 +280,6 @@ tty_touch_screen (void)
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
tty_touch_lines (int start, int num)
|
||||
{
|
||||
touchline (stdscr, start, num);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
tty_gotoyx (int y, int x)
|
||||
{
|
||||
|
@ -453,14 +453,6 @@ tty_touch_screen (void)
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
tty_touch_lines (int start, int num)
|
||||
{
|
||||
SLsmg_touch_lines (start, num);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
tty_gotoyx (int y, int x)
|
||||
{
|
||||
|
@ -110,7 +110,6 @@ extern int tty_lowlevel_getch (void);
|
||||
|
||||
extern int tty_reset_screen (void);
|
||||
extern void tty_touch_screen (void);
|
||||
extern void tty_touch_lines (int start, int num);
|
||||
|
||||
extern void tty_gotoyx (int y, int x);
|
||||
extern void tty_getyx (int *py, int *px);
|
||||
|
@ -871,12 +871,7 @@ do_refresh (void)
|
||||
if (fast_refresh)
|
||||
{
|
||||
if ((d != NULL) && (d->data != NULL))
|
||||
{
|
||||
Dlg_head *dlg = (Dlg_head *) d->data;
|
||||
|
||||
tty_touch_lines (dlg->y, dlg->lines);
|
||||
dlg_redraw (dlg);
|
||||
}
|
||||
dlg_redraw ((Dlg_head *) d->data);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -884,10 +879,6 @@ do_refresh (void)
|
||||
for (; d != NULL; d = g_list_next (d))
|
||||
if ((d->data != NULL) && ((Dlg_head *) d->data)->fullscreen)
|
||||
break;
|
||||
|
||||
/* Clear entire screen to avoid artefacts after printing of non-printable symbols. */
|
||||
clr_scr ();
|
||||
|
||||
/* back to top dialog */
|
||||
for (; d != NULL; d = g_list_previous (d))
|
||||
if (d->data != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user