Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0b850f9f
Commit
0b850f9f
authored
Oct 12, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reimplemented GetLastActivePopup to get the information from the
server.
parent
5030bda7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
21 deletions
+8
-21
win.h
include/win.h
+0
-1
win.c
windows/win.c
+8
-20
No files found.
include/win.h
View file @
0b850f9f
...
...
@@ -55,7 +55,6 @@ typedef struct tagWND
HGLOBAL16
hmemTaskQ
;
/* Task queue global memory handle */
HRGN
hrgnUpdate
;
/* Update region */
HRGN
hrgnWnd
;
/* window's region */
HWND
hwndLastActive
;
/* Last active popup hwnd */
DWORD
dwStyle
;
/* Window style (from CreateWindow) */
DWORD
dwExStyle
;
/* Extended style (from CreateWindowEx) */
DWORD
clsStyle
;
/* Class style at window creation */
...
...
windows/win.c
View file @
0b850f9f
...
...
@@ -763,7 +763,6 @@ BOOL WIN_CreateDesktopWindow(void)
pWndDesktop
->
text
=
NULL
;
pWndDesktop
->
hmemTaskQ
=
0
;
pWndDesktop
->
hrgnUpdate
=
0
;
pWndDesktop
->
hwndLastActive
=
hwndDesktop
;
pWndDesktop
->
clsStyle
=
clsStyle
;
pWndDesktop
->
dce
=
NULL
;
pWndDesktop
->
pVScroll
=
NULL
;
...
...
@@ -1104,7 +1103,6 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, ATOM classAtom,
wndPtr
->
hmemTaskQ
=
InitThreadInput16
(
0
,
0
);
wndPtr
->
hrgnUpdate
=
0
;
wndPtr
->
hrgnWnd
=
0
;
wndPtr
->
hwndLastActive
=
hwnd
;
wndPtr
->
dwStyle
=
cs
->
style
&
~
WS_VISIBLE
;
wndPtr
->
dwExStyle
=
cs
->
dwExStyle
;
wndPtr
->
clsStyle
=
clsStyle
;
...
...
@@ -1489,8 +1487,6 @@ BOOL WINAPI DestroyWindow( HWND hwnd )
if
(
!
is_child
)
{
HWND
owner
;
for
(;;)
{
int
i
,
got_one
=
0
;
...
...
@@ -1512,16 +1508,6 @@ BOOL WINAPI DestroyWindow( HWND hwnd )
}
if
(
!
got_one
)
break
;
}
if
((
owner
=
GetWindow
(
hwnd
,
GW_OWNER
)))
{
WND
*
ptr
=
WIN_FindWndPtr
(
owner
);
if
(
ptr
)
{
if
(
ptr
->
hwndLastActive
==
hwnd
)
ptr
->
hwndLastActive
=
owner
;
WIN_ReleaseWndPtr
(
ptr
);
}
}
}
/* Send destroy messages */
...
...
@@ -2856,12 +2842,14 @@ BOOL WINAPI ShowOwnedPopups( HWND owner, BOOL fShow )
*/
HWND
WINAPI
GetLastActivePopup
(
HWND
hwnd
)
{
HWND
retval
;
WND
*
wndPtr
=
WIN_FindWndPtr
(
hwnd
);
if
(
!
wndPtr
)
return
hwnd
;
retval
=
wndPtr
->
hwndLastActive
;
if
(
!
IsWindow
(
retval
))
retval
=
wndPtr
->
hwndSelf
;
WIN_ReleaseWndPtr
(
wndPtr
);
HWND
retval
=
hwnd
;
SERVER_START_REQ
(
get_window_info
)
{
req
->
handle
=
hwnd
;
if
(
!
wine_server_call_err
(
req
))
retval
=
reply
->
last_active
;
}
SERVER_END_REQ
;
return
retval
;
}
...
...
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