summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn <sabetts@juicebox>2009-04-13 01:23:38 -0700
committerShawn <sabetts@juicebox>2009-04-13 01:23:38 -0700
commit82be5b35eda82f8dd4b6e19940d6a7bee1b582ea (patch)
tree60804ea0d517517aa8780005b0ce877173fb6c6e
parent281aaf7b489d9ba89fdf5e39637cde287e83f9fa (diff)
downloadratpoison-82be5b35eda82f8dd4b6e19940d6a7bee1b582ea.zip
resize the help window when a screen is resized
-rw-r--r--src/screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 702f10a..b3b9840 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -465,6 +465,8 @@ screen_update (rp_screen *s, int width, int height)
oldwidth = s->width; oldheight = s->height;
s->width = width; s->height = height;
+ XResizeWindow (dpy, s->help_window, width, height);
+
list_for_each_entry (f, &s->frames, node)
{
f->x = (f->x*width)/oldwidth;