hrev45176 adds 1 changeset to branch 'master' old head: 23bfcc5517a125afb3223927483e317b8b3561bb new head: 02d04a7664c0fa9b4c1caf5a04613455bd9b7228 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=02d04a7+%5E23bfcc5 ---------------------------------------------------------------------------- 02d04a7: Fix #9330. Notifications Window is always inside the screen Signed-off-by: Jerome Duval <jerome.duval@xxxxxxxxx> [ Janus <janus2@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev45176 Commit: 02d04a7664c0fa9b4c1caf5a04613455bd9b7228 URL: http://cgit.haiku-os.org/haiku/commit/?id=02d04a7 Author: Janus <janus2@xxxxxxxxx> Date: Fri Dec 28 23:24:06 2012 UTC Committer: Jerome Duval <jerome.duval@xxxxxxxxx> Commit-Date: Fri Jan 18 19:58:09 2013 UTC Ticket: https://dev.haiku-os.org/ticket/9330 ---------------------------------------------------------------------------- 2 files changed, 9 insertions(+), 1 deletion(-) src/servers/notification/NotificationWindow.cpp | 7 +++++++ src/servers/notification/NotificationWindow.h | 3 ++- ---------------------------------------------------------------------------- diff --git a/src/servers/notification/NotificationWindow.cpp b/src/servers/notification/NotificationWindow.cpp index be8e670..068048b 100644 --- a/src/servers/notification/NotificationWindow.cpp +++ b/src/servers/notification/NotificationWindow.cpp @@ -105,6 +105,13 @@ NotificationWindow::WorkspaceActivated(int32 /*workspace*/, bool active) void +NotificationWindow::FrameResized(float width, float height) +{ + SetPosition(); +} + + +void NotificationWindow::MessageReceived(BMessage* message) { switch (message->what) { diff --git a/src/servers/notification/NotificationWindow.h b/src/servers/notification/NotificationWindow.h index 76dcc83..2bbde55 100644 --- a/src/servers/notification/NotificationWindow.h +++ b/src/servers/notification/NotificationWindow.h @@ -44,7 +44,8 @@ public: virtual bool QuitRequested(); virtual void MessageReceived(BMessage*); - virtual void WorkspaceActivated(int32, bool); + virtual void WorkspaceActivated(int32, bool); + virtual void FrameResized(float width, float height); virtual BHandler* ResolveSpecifier(BMessage*, int32, BMessage*, int32, const char*);