diff options
author | Shawn <sabetts@juicebox> | 2009-04-13 01:23:38 -0700 |
---|---|---|
committer | Shawn <sabetts@juicebox> | 2009-04-13 01:23:38 -0700 |
commit | 82be5b35eda82f8dd4b6e19940d6a7bee1b582ea (patch) | |
tree | 60804ea0d517517aa8780005b0ce877173fb6c6e /src/screen.c | |
parent | 281aaf7b489d9ba89fdf5e39637cde287e83f9fa (diff) | |
download | ratpoison-82be5b35eda82f8dd4b6e19940d6a7bee1b582ea.zip |
resize the help window when a screen is resized
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 2 |
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; |