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 | |
parent | 62e5c960fe7d62b2cea94415cc35b2826d51064a (diff) | |
download | ratpoison-77ed579271333781b9a97bbfc901795080c0ca16.zip |
(cmd_license): redraw the bar if it was visible.
(cmd_help): likewise
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/actions.c | 8 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2002-02-14 Shawn Betts <sabetts@vcn.bc.ca> + * src/actions.c (cmd_license): redraw the bar if it was visible. + (cmd_help): likewise + * configure.in: fix the --enable-debug help string. * src/events.c (configure_request): Ignore the configure notify 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; } |