Fixed PostMessage usage
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15663 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
208e6678e3
commit
6edaa0f6a6
@ -717,7 +717,8 @@ ScreenWindow::WorkspaceActivated(int32 workspace, bool state)
|
||||
if (fSelected == fActive)
|
||||
UpdateActiveMode();
|
||||
|
||||
PostMessage(new BMessage(UPDATE_DESKTOP_COLOR_MSG), fMonitorView);
|
||||
BMessage message(UPDATE_DESKTOP_COLOR_MSG);
|
||||
PostMessage(&message, fMonitorView);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user