Skip to content

Commit

Permalink
Fix #9330. Notifications Window is always inside the screen
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
  • Loading branch information
janus2 authored and korli committed Jan 18, 2013
1 parent 23bfcc5 commit 02d04a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/servers/notification/NotificationWindow.cpp
Expand Up @@ -104,6 +104,13 @@ NotificationWindow::WorkspaceActivated(int32 /*workspace*/, bool active)
}


void
NotificationWindow::FrameResized(float width, float height)
{
SetPosition();
}


void
NotificationWindow::MessageReceived(BMessage* message)
{
Expand Down
3 changes: 2 additions & 1 deletion src/servers/notification/NotificationWindow.h
Expand Up @@ -44,7 +44,8 @@ class NotificationWindow : public BWindow {

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

Expand Down

0 comments on commit 02d04a7

Please sign in to comment.