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
f3eebcfa
Commit
f3eebcfa
authored
Sep 14, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't send WM_CANCELMODE to iconified windows.
parent
2784c1ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
msg.c
dlls/user32/tests/msg.c
+1
-1
event.c
dlls/winex11.drv/event.c
+2
-1
No files found.
dlls/user32/tests/msg.c
View file @
f3eebcfa
...
...
@@ -5572,7 +5572,7 @@ static void test_messages(void)
ShowWindow
(
hwnd
,
SW_MINIMIZE
);
flush_events
();
ok_sequence
(
WmShowMinOverlappedSeq
,
"ShowWindow(SW_SHOWMINIMIZED):overlapped"
,
TRU
E
);
ok_sequence
(
WmShowMinOverlappedSeq
,
"ShowWindow(SW_SHOWMINIMIZED):overlapped"
,
FALS
E
);
flush_sequence
();
if
(
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
WS_MINIMIZE
)
...
...
dlls/winex11.drv/event.c
View file @
f3eebcfa
...
...
@@ -837,7 +837,8 @@ static void focus_out( Display *display , HWND hwnd )
return
;
}
if
(
hwnd
!=
NtUserGetForegroundWindow
())
return
;
send_message
(
hwnd
,
WM_CANCELMODE
,
0
,
0
);
if
(
!
(
NtUserGetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
WS_MINIMIZE
))
send_message
(
hwnd
,
WM_CANCELMODE
,
0
,
0
);
/* don't reset the foreground window, if the window which is
getting the focus is a Wine window */
...
...
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