Fix #9330. Notifications Window is always inside the screen

Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
This commit is contained in:
Janus 2012-12-28 23:24:06 +00:00 committed by Jerome Duval
parent 23bfcc5517
commit 02d04a7664
2 changed files with 9 additions and 1 deletions

View File

@ -104,6 +104,13 @@ NotificationWindow::WorkspaceActivated(int32 /*workspace*/, bool active)
}
void
NotificationWindow::FrameResized(float width, float height)
{
SetPosition();
}
void
NotificationWindow::MessageReceived(BMessage* message)
{

View File

@ -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*);