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:
parent
8b0b0568fd
commit
d4fe6ec1e7
@ -350,8 +350,8 @@ BMenuBar::StartMenuBar(int32 menuIndex, bool sticky, bool showMenu,
|
||||
if (data.useRect)
|
||||
data.rect = *specialRect;
|
||||
|
||||
send_data(fTrackingPID, 0, &data, sizeof(data));
|
||||
resume_thread(fTrackingPID);
|
||||
send_data(fTrackingPID, 0, &data, sizeof(data));
|
||||
|
||||
} else {
|
||||
_set_menu_sem_(window, B_NO_MORE_SEMS);
|
||||
|
Loading…
Reference in New Issue
Block a user