Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e60ccd11
Commit
e60ccd11
authored
May 11, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a new window for the top popup menu on every new menu tracking,
so that the window belongs to the right thread.
parent
ee285b7a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
7 deletions
+0
-7
menu.c
controls/menu.c
+0
-0
controls.h
dlls/user/controls.h
+0
-1
user.c
windows/user.c
+0
-3
win.c
windows/win.c
+0
-3
No files found.
controls/menu.c
View file @
e60ccd11
This diff is collapsed.
Click to expand it.
dlls/user/controls.h
View file @
e60ccd11
...
...
@@ -44,7 +44,6 @@ extern BOOL MENU_IsMenuActive(void);
extern
HMENU
MENU_GetSysMenu
(
HWND
hWndOwner
,
HMENU
hSysPopup
);
extern
UINT
MENU_GetMenuBarHeight
(
HWND
hwnd
,
UINT
menubarWidth
,
INT
orgX
,
INT
orgY
);
extern
BOOL
MENU_PatchResidentPopup
(
HQUEUE16
,
struct
tagWND
*
);
extern
void
MENU_TrackMouseMenuBar
(
struct
tagWND
*
wnd
,
INT
ht
,
POINT
pt
);
extern
void
MENU_TrackKbdMenuBar
(
struct
tagWND
*
wnd
,
UINT
wParam
,
INT
vkey
);
extern
UINT
MENU_DrawMenuBar
(
HDC
hDC
,
LPRECT
lprect
,
...
...
windows/user.c
View file @
e60ccd11
...
...
@@ -117,9 +117,6 @@ static void USER_QueueCleanup( HQUEUE16 hQueue )
desktop
->
hmemTaskQ
=
GetTaskQueue16
(
nextTask
);
}
/* Patch resident popup menu window */
MENU_PatchResidentPopup
(
hQueue
,
NULL
);
TIMER_RemoveQueueTimers
(
hQueue
);
HOOK_FreeQueueHooks
(
hQueue
);
...
...
windows/win.c
View file @
e60ccd11
...
...
@@ -1379,9 +1379,6 @@ BOOL WINAPI DestroyWindow( HWND hwnd )
if
(
!
(
wndPtr
->
dwStyle
&
WS_CHILD
)
)
{
/* make sure top menu popup doesn't get destroyed */
MENU_PatchResidentPopup
(
(
HQUEUE16
)
0xFFFF
,
wndPtr
);
for
(;;)
{
WND
*
siblingPtr
=
WIN_LockWndPtr
(
wndPtr
->
parent
->
child
);
/* First sibling */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment