summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/st.c b/st.c
index cae61f7..29b7462 100644
--- a/st.c
+++ b/st.c
@@ -2042,7 +2042,7 @@ strhandle(void)
else if (xsetcolorname(defaultfg, p))
fprintf(stderr, "erresc: invalid foreground color: %s\n", p);
else
- redraw();
+ tfulldirt();
return;
case 11:
if (narg < 2)
@@ -2055,7 +2055,7 @@ strhandle(void)
else if (xsetcolorname(defaultbg, p))
fprintf(stderr, "erresc: invalid background color: %s\n", p);
else
- redraw();
+ tfulldirt();
return;
case 12:
if (narg < 2)
@@ -2068,7 +2068,7 @@ strhandle(void)
else if (xsetcolorname(defaultcs, p))
fprintf(stderr, "erresc: invalid cursor color: %s\n", p);
else
- redraw();
+ tfulldirt();
return;
case 4: /* color set */
if (narg < 3)
@@ -2090,7 +2090,7 @@ strhandle(void)
* TODO if defaultbg color is changed, borders
* are dirty
*/
- redraw();
+ tfulldirt();
}
return;
}