Fix #9448. [notification_server] monitors screen resolution

This commit is contained in:
Janus
2014-09-18 17:06:15 +02:00
committed by Adrien Destugues
parent 016ef2de8b
commit a74b2df992
2 changed files with 8 additions and 0 deletions
@@ -111,6 +111,13 @@ NotificationWindow::FrameResized(float width, float height)
}
void
NotificationWindow::ScreenChanged(BRect frame, color_space mode)
{
SetPosition();
}
void
NotificationWindow::MessageReceived(BMessage* message)
{
@@ -46,6 +46,7 @@ public:
virtual void MessageReceived(BMessage*);
virtual void WorkspaceActivated(int32, bool);
virtual void FrameResized(float width, float height);
virtual void ScreenChanged(BRect frame, color_space mode);
virtual BHandler* ResolveSpecifier(BMessage*, int32, BMessage*,
int32, const char*);