summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-02-14 19:21:35 +0000
committersabetts <sabetts>2002-02-14 19:21:35 +0000
commit77ed579271333781b9a97bbfc901795080c0ca16 (patch)
treec1e4aadeae574f5e93900f4a3819a5f55bdc1dce
parent62e5c960fe7d62b2cea94415cc35b2826d51064a (diff)
downloadratpoison-77ed579271333781b9a97bbfc901795080c0ca16.zip
(cmd_license): redraw the bar if it was visible.
(cmd_help): likewise
-rw-r--r--ChangeLog3
-rw-r--r--src/actions.c8
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 66e0a6b..ace2ae4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}