summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 02b1b918d..bc61d0c73 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2786,6 +2786,10 @@ void RelocateAllWindows(int neww, int newh)
/* XXX - this probably needs something more sane. For example specifying
* in a 'backup'-desc that the window should always be centered. */
switch (w->window_class) {
+ case WC_BOOTSTRAP:
+ ResizeWindow(w, neww, newh);
+ continue;
+
case WC_MAIN_TOOLBAR:
ResizeWindow(w, min(neww, *_preferred_toolbar_size) - w->width, 0);