repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 6fdcf7ce735c066f368f5f3b836b1631c95fc950: path_to: revision_to:
commit 6fdcf7ce735c066f368f5f3b836b1631c95fc950 Author: Marc LehmannDate: Fri Aug 10 23:52:12 2007 +0000 clear rvideo mode differently to avoid race diff --git a/src/command.C b/src/command.C
--- a/src/command.C
+++ b/src/command.C
@@ -3623,12 +3623,10 @@ rxvt_term::process_terminal_mode (int mode, int priv UNUSED, unsigned int nargs,
int state;
static const struct
- {
- const int argval;
- const unsigned long bit;
- }
-
- argtopriv[] = {
+ {
+ const int argval;
+ const unsigned long bit;
+ } argtopriv[] = {
{ 1, PrivMode_aplCUR },
{ 2, PrivMode_vt52 },
{ 3, PrivMode_132 },
diff --git a/src/screen.C b/src/screen.C
--- a/src/screen.C
+++ b/src/screen.C
@@ -163,6 +163,7 @@ rxvt_term::scr_reset ()
scr_overlay_off ();
#endif
+ rvideo_mode = false;
view_start = 0;
num_scr = 0;
@@ -239,7 +240,6 @@ rxvt_term::scr_reset ()
selection.op = SELECTION_CLEAR;
selection.screen = PRIMARY;
selection.clicks = 0;
- rvideo_state = rvideo_mode = false;
}
else
{
@@ -1916,7 +1916,6 @@ rxvt_term::scr_bell () NOTHROW
}
else
XBell (dpy, 0);
-
#endif
}
-----END OF PAGE-----