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
5a3505c9
Commit
5a3505c9
authored
Sep 23, 1999
by
Noomen Hamza
Committed by
Alexandre Julliard
Sep 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Non active window should be activated when it gets any
client/non-client double/single left/medium/right mouse click(s).
parent
2b4102e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
defwnd.c
windows/defwnd.c
+1
-1
nonclient.c
windows/nonclient.c
+0
-3
No files found.
windows/defwnd.c
View file @
5a3505c9
...
...
@@ -283,7 +283,7 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
}
/* Caption clicks are handled by the NC_HandleNCLButtonDown() */
return
(
LOWORD
(
lParam
)
==
HTCAPTION
)
?
MA_NOACTIVATE
:
MA_
ACTIVATE
;
return
(
LOWORD
(
lParam
)
>=
HTCLIENT
)
?
MA_ACTIVATE
:
MA_NO
ACTIVATE
;
case
WM_ACTIVATE
:
/* The default action in Windows is to set the keyboard focus to
...
...
windows/nonclient.c
View file @
5a3505c9
...
...
@@ -2589,9 +2589,6 @@ LONG NC_HandleNCLButtonDown( WND* pWnd, WPARAM16 wParam, LPARAM lParam )
{
HWND
hwnd
=
pWnd
->
hwndSelf
;
if
(
GetForegroundWindow
()
!=
hwnd
)
SetWindowPos
(
hwnd
,
0
,
0
,
0
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_DRAWFRAME
);
switch
(
wParam
)
/* Hit test */
{
case
HTCAPTION
:
...
...
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