From 9096d4357ae72db0a387b69f20a7bf7c998a63b8 Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Tue, 22 Oct 2024 11:07:50 -0600 Subject: [PATCH] DeskbarView: call BView::MessageReceived if we don't handle the message This fixes mouse button handling in the Deskbar replicant. --- deskbar add-on/DeskbarView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deskbar add-on/DeskbarView.cpp b/deskbar add-on/DeskbarView.cpp index 16376b9..5cfa0b9 100644 --- a/deskbar add-on/DeskbarView.cpp +++ b/deskbar add-on/DeskbarView.cpp @@ -167,7 +167,8 @@ void DeskbarView::MessageReceived( BMessage *msg ) { if (msg->what=='Remv') { BDeskbar deskbar; deskbar.RemoveItem(VIEW_NAME); - } + } else + BView::MessageReceived(msg); }