Interface Kit: BWindow owns (and deletes) menu sem
_Uninstall() before _Hide() in BMenu because the window must be available when we _Uninstall() especially for shortcuts. Remove #define and always assume USE_CACHED_MENUWINDOW. _Uninstall() whenever we _Hide() in BMenu. Change-Id: I5dae85f6edf1f0b4ccf67a6d9d77470576671cee Reviewed-on: https://review.haiku-os.org/c/haiku/+/9012 Tested-by: Commit checker robot <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
87c49a5119
commit
ac55439364
@@ -106,10 +106,9 @@ private:
|
||||
menu_bar_border fBorder;
|
||||
thread_id fTrackingPID;
|
||||
int32 fPrevFocusToken;
|
||||
sem_id fMenuSem;
|
||||
BRect* fLastBounds;
|
||||
uint32 fBorders;
|
||||
uint32 _reserved[1];
|
||||
uint32 _reserved[2];
|
||||
|
||||
bool fTracking;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user