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
b5f17965
Commit
b5f17965
authored
Nov 19, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Use base class atom for child window enumeration.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e8897ebe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
class.c
dlls/user32/tests/class.c
+0
-4
class.c
server/class.c
+1
-1
No files found.
dlls/user32/tests/class.c
View file @
b5f17965
...
...
@@ -1354,11 +1354,9 @@ static void test_actctx_classes(void)
ok
(
hwnd
!=
NULL
,
"Failed to create a window.
\n
"
);
hwnd2
=
FindWindowExA
(
NULL
,
NULL
,
"MyTestClass"
,
NULL
);
todo_wine
ok
(
hwnd2
==
hwnd
,
"Failed to find test window.
\n
"
);
hwnd2
=
FindWindowExA
(
NULL
,
NULL
,
"4.3.2.1!MyTestClass"
,
NULL
);
todo_wine
ok
(
hwnd2
==
NULL
,
"Unexpected find result %p.
\n
"
,
hwnd2
);
ret
=
GetClassNameA
(
hwnd
,
buff
,
sizeof
(
buff
));
...
...
@@ -1390,11 +1388,9 @@ todo_wine
ok
(
hwnd
!=
NULL
,
"Failed to create a window.
\n
"
);
hwnd2
=
FindWindowExA
(
NULL
,
NULL
,
"MyTestClass"
,
NULL
);
todo_wine
ok
(
hwnd2
==
hwnd
,
"Failed to find test window.
\n
"
);
hwnd2
=
FindWindowExA
(
NULL
,
NULL
,
"4.3.2.1!MyTestClass"
,
NULL
);
todo_wine
ok
(
hwnd2
==
NULL
,
"Unexpected find result %p.
\n
"
,
hwnd2
);
DestroyWindow
(
hwnd
);
...
...
server/class.c
View file @
b5f17965
...
...
@@ -139,7 +139,7 @@ int is_hwnd_message_class( struct window_class *class )
atom_t
get_class_atom
(
struct
window_class
*
class
)
{
return
class
->
atom
;
return
class
->
base_
atom
;
}
client_ptr_t
get_class_client_ptr
(
struct
window_class
*
class
)
...
...
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