summaryrefslogtreecommitdiff
path: root/frontends/beos
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2016-11-21 16:51:40 +0100
committerFran├žois Revol <revol@free.fr>2016-11-21 16:51:40 +0100
commitb5fd0ae1ed4558b50cb7e3002e8f0c7042a4617d (patch)
treea5508258d3e625a47fd58ac75f0ae27db0892367 /frontends/beos
parent31b1c72ddc66512c3a9cef4e59b94bdafc713ad4 (diff)
downloadnetsurf-b5fd0ae1ed4558b50cb7e3002e8f0c7042a4617d.tar.gz
netsurf-b5fd0ae1ed4558b50cb7e3002e8f0c7042a4617d.tar.bz2
haiku: catch NetPositive messages also in the Window
At least Pe sends them there for its Help menu.
Diffstat (limited to 'frontends/beos')
-rw-r--r--frontends/beos/scaffolding.cpp9
1 files changed, 9 insertions, 0 deletions
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;