From b5fd0ae1ed4558b50cb7e3002e8f0c7042a4617d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 21 Nov 2016 16:51:40 +0100 Subject: [PATCH] haiku: catch NetPositive messages also in the Window At least Pe sends them there for its Help menu. --- frontends/beos/scaffolding.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontends/beos/scaffolding.cpp b/frontends/beos/scaffolding.cpp index 47f18c952..1fe22ffd7 100644 --- a/frontends/beos/scaffolding.cpp +++ b/frontends/beos/scaffolding.cpp @@ -729,6 +729,15 @@ NSBrowserWindow::MessageReceived(BMessage *message) case B_ARGV_RECEIVED: case B_REFS_RECEIVED: case B_UI_SETTINGS_CHANGED: + // NetPositive messages + case B_NETPOSITIVE_OPEN_URL: + case B_NETPOSITIVE_BACK: + case B_NETPOSITIVE_FORWARD: + case B_NETPOSITIVE_HOME: + case B_NETPOSITIVE_RELOAD: + case B_NETPOSITIVE_STOP: + case B_NETPOSITIVE_DOWN: + case B_NETPOSITIVE_UP: DetachCurrentMessage(); nsbeos_pipe_message_top(message, this, fScaffolding); break;