IK: Propagate B_WORKSPACE_ACTIVATED to child views
... and B_WORKSPACES_CHANGED too. hrev50148 propagated B_SCREEN_CHANGED messages to children allowing them to respond to screen changes fixing #8035 back in 2016. This does the same thing for workspace messages only I spelled propagate correctly this time. Add private _PropagateMessageToChildViews() convinience method to BWindow to do this work. Call PostMessage() instead of calling MessageReceived() directly which can work better in certain circumstances. Change-Id: I5978c3fe674bbe75d9eafb7afb654a49ee3e0c11 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5516 Reviewed-by: Axel Dörfler <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
a3d8402537
commit
3ef6915cf3
@@ -365,6 +365,7 @@ private:
|
||||
void _GetDecoratorSize(float* _borderWidth,
|
||||
float* _tabHeight) const;
|
||||
void _SendShowOrHideMessage();
|
||||
void _PropagateMessageToChildViews(BMessage*);
|
||||
|
||||
private:
|
||||
char* fTitle;
|
||||
|
||||
Reference in New Issue
Block a user