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
21d50f8d
Commit
21d50f8d
authored
May 29, 1999
by
Francis Beaudet
Committed by
Alexandre Julliard
May 29, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a behavior of the focus when a parent window is disabled.
parent
0f44fb36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
win.c
windows/win.c
+1
-1
No files found.
windows/win.c
View file @
21d50f8d
...
...
@@ -1721,7 +1721,7 @@ BOOL WINAPI EnableWindow( HWND hwnd, BOOL enable )
if
(
wndPtr
->
flags
&
WIN_NATIVE
)
wndPtr
->
pDriver
->
pSetHostAttr
(
wndPtr
,
HAK_ACCEPTFOCUS
,
FALSE
);
if
(
(
hwnd
==
GetFocus
())
||
IsChild
(
hwnd
,
GetFocus
()
))
if
(
hwnd
==
GetFocus
(
))
{
SetFocus
(
0
);
/* A disabled window can't have the focus */
}
...
...
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