From: Po Lu Date: Sun, 16 Jan 2022 00:47:41 +0000 (+0000) Subject: Fix a minor snafu when resizing frames on Haiku X-Git-Tag: emacs-29.0.90~3022 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80c52346c287ddc5e15663c25a1fea18d2ee4fad;p=emacs.git Fix a minor snafu when resizing frames on Haiku * src/haiku_support.cc (BWindow_resize): Adjust for minor snafu where BWindow::ResizeTo uses BRect-style width and height instead of actual width and height. --- diff --git a/src/haiku_support.cc b/src/haiku_support.cc index d49e319b98c..4b180f98b7c 100644 --- a/src/haiku_support.cc +++ b/src/haiku_support.cc @@ -1861,7 +1861,7 @@ BWindow_retitle (void *window, const char *title) void BWindow_resize (void *window, int width, int height) { - ((BWindow *) window)->ResizeTo (width, height); + ((BWindow *) window)->ResizeTo (width - 1, height - 1); } /* Activate WINDOW, making it the subject of keyboard focus and