diff options
author | sabetts <sabetts> | 2002-02-14 19:21:35 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2002-02-14 19:21:35 +0000 |
commit | 77ed579271333781b9a97bbfc901795080c0ca16 (patch) | |
tree | c1e4aadeae574f5e93900f4a3819a5f55bdc1dce /src | |
parent | 62e5c960fe7d62b2cea94415cc35b2826d51064a (diff) | |
download | ratpoison-77ed579271333781b9a97bbfc901795080c0ca16.zip |
(cmd_license): redraw the bar if it was visible.
(cmd_help): likewise
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c index 314d41c..511bfef 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1392,6 +1392,10 @@ cmd_license (int interactive, void *data) XUnmapWindow (dpy, s->help_window); XSetInputFocus (dpy, fwin, revert, CurrentTime); + /* The help window overlaps the bar, so redraw it. */ + if (current_screen()->bar_is_raised) + show_last_message(); + return NULL; } @@ -1499,6 +1503,10 @@ cmd_help (int interactive, void *data) XUnmapWindow (dpy, s->help_window); XSetInputFocus (dpy, fwin, revert, CurrentTime); + /* The help window overlaps the bar, so redraw it. */ + if (current_screen()->bar_is_raised) + show_last_message(); + return NULL; } |