From 141ea4a02708c2361bd6c9c325613967a711ff46 Mon Sep 17 00:00:00 2001 From: Nishi Date: Fri, 1 May 2026 22:35:35 +0900 Subject: [PATCH] haiku fix --- src/backend/haiku.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/haiku.cc b/src/backend/haiku.cc index 2201e76..6017a37 100644 --- a/src/backend/haiku.cc +++ b/src/backend/haiku.cc @@ -92,6 +92,7 @@ void MwView::MessageReceived(BMessage* message) { this->Window()->ResizeTo(width - 1, height - 1); this->ResizeTo(width - 1, height - 1); } + this->Draw(BRect(0, 0, 0, 0)); break; } case BVIEW_MW_MOVE: @@ -387,7 +388,7 @@ static int32 app_thread(void* data) { MwLL MwLLCreateImpl(MwLL parent, int x, int y, int width, int height) { MwLL r = (MwLL)malloc(sizeof(*r)); MwRect mrc; - BRect rc = BRect(x, y, x + width - 1, x + height - 1); + BRect rc = BRect(x, y, x + width - 1, y + height - 1); mrc.x = x; mrc.y = y;