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
efdf8f98
Commit
efdf8f98
authored
Feb 18, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Ignore SPI_ICONVERTICALSPACING notifications. Don't reset mouse…
user32/tests: Ignore SPI_ICONVERTICALSPACING notifications. Don't reset mouse buttons if setting failed.
parent
c9b40bff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
sysparams.c
dlls/user32/tests/sysparams.c
+9
-5
No files found.
dlls/user32/tests/sysparams.c
View file @
efdf8f98
...
...
@@ -176,8 +176,13 @@ static LRESULT CALLBACK SysParamsTestWndProc( HWND hWnd, UINT msg, WPARAM wParam
case
WM_SETTINGCHANGE
:
if
(
change_counter
>
0
)
{
/* ignore these messages caused by resizing of toolbars */
if
(
wParam
==
SPI_SETWORKAREA
||
displaychange_test_active
)
break
;
if
(
change_last_param
==
SPI_SETWORKAREA
)
{
if
(
wParam
==
SPI_SETWORKAREA
||
wParam
==
SPI_ICONVERTICALSPACING
||
displaychange_test_active
)
break
;
if
(
change_last_param
==
SPI_SETWORKAREA
||
change_last_param
==
SPI_ICONVERTICALSPACING
)
{
change_last_param
=
wParam
;
break
;
}
...
...
@@ -1244,9 +1249,8 @@ static void test_SPI_SETMOUSEBUTTONSWAP( void ) /* 33 */
SetLastError
(
0xdeadbeef
);
rc
=
SystemParametersInfoA
(
SPI_SETMOUSEBUTTONSWAP
,
vals
[
i
],
0
,
SPIF_UPDATEINIFILE
|
SPIF_SENDCHANGE
);
if
(
!
test_error_msg
(
rc
,
"SPI_{GET,SET}MOUSEBUTTONSWAP"
))
break
;
if
(
!
test_error_msg
(
rc
,
"SPI_SETMOUSEBUTTONSWAP"
))
return
;
test_change_message
(
SPI_SETMOUSEBUTTONSWAP
,
0
);
test_reg_key
(
SPI_SETMOUSEBUTTONSWAP_REGKEY
,
SPI_SETMOUSEBUTTONSWAP_VALNAME
,
...
...
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