Fix #9448. [notification_server] monitors screen resolution

This commit is contained in:
Janus 2013-11-11 21:19:55 +00:00 committed by Adrien Destugues
parent 016ef2de8b
commit a74b2df992
2 changed files with 8 additions and 0 deletions

View File

@ -111,6 +111,13 @@ NotificationWindow::FrameResized(float width, float height)
} }
void
NotificationWindow::ScreenChanged(BRect frame, color_space mode)
{
SetPosition();
}
void void
NotificationWindow::MessageReceived(BMessage* message) NotificationWindow::MessageReceived(BMessage* message)
{ {

View File

@ -46,6 +46,7 @@ public:
virtual void MessageReceived(BMessage*); virtual void MessageReceived(BMessage*);
virtual void WorkspaceActivated(int32, bool); virtual void WorkspaceActivated(int32, bool);
virtual void FrameResized(float width, float height); virtual void FrameResized(float width, float height);
virtual void ScreenChanged(BRect frame, color_space mode);
virtual BHandler* ResolveSpecifier(BMessage*, int32, BMessage*, virtual BHandler* ResolveSpecifier(BMessage*, int32, BMessage*,
int32, const char*); int32, const char*);