Fix #9448. [notification_server] monitors screen resolution
This commit is contained in:
parent
016ef2de8b
commit
a74b2df992
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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*);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user