Looks like our send_data() doesn't like to be called when a thread isn't running. Could just be that I'm not using it correctly, though. Menus now open under the 'real' haiku, though they still hang the window after some time
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13014 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -349,9 +349,9 @@ BMenuBar::StartMenuBar(int32 menuIndex, bool sticky, bool showMenu,
|
|||||||
data.useRect = specialRect != NULL;
|
data.useRect = specialRect != NULL;
|
||||||
if (data.useRect)
|
if (data.useRect)
|
||||||
data.rect = *specialRect;
|
data.rect = *specialRect;
|
||||||
|
|
||||||
|
resume_thread(fTrackingPID);
|
||||||
send_data(fTrackingPID, 0, &data, sizeof(data));
|
send_data(fTrackingPID, 0, &data, sizeof(data));
|
||||||
resume_thread(fTrackingPID);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
_set_menu_sem_(window, B_NO_MORE_SEMS);
|
_set_menu_sem_(window, B_NO_MORE_SEMS);
|
||||||
|
|||||||
Reference in New Issue
Block a user