Fix #9330. Notifications Window is always inside the screen
Signed-off-by: Jerome Duval <[email protected]>
This commit is contained in:
@@ -104,6 +104,13 @@ NotificationWindow::WorkspaceActivated(int32 /*workspace*/, bool active)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
NotificationWindow::FrameResized(float width, float height)
|
||||
{
|
||||
SetPosition();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
NotificationWindow::MessageReceived(BMessage* message)
|
||||
{
|
||||
|
||||
@@ -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*);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user