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
3faf1a92
Commit
3faf1a92
authored
Jun 17, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Jun 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Don't bring disabled or no-activate windows forward when clicked.
parent
c14ff4be
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
cocoa_app.m
dlls/winemac.drv/cocoa_app.m
+1
-0
cocoa_window.h
dlls/winemac.drv/cocoa_window.h
+2
-0
cocoa_window.m
dlls/winemac.drv/cocoa_window.m
+2
-2
No files found.
dlls/winemac.drv/cocoa_app.m
View file @
3faf1a92
...
...
@@ -1428,6 +1428,7 @@ int macdrv_err_on;
NSEventType
type
=
[
theEvent
type
];
if
([
window
isKindOfClass
:[
WineWindow
class
]]
&&
!
window
.
disabled
&&
!
window
.
noActivate
&&
type
==
NSLeftMouseDown
&&
(([
theEvent
modifierFlags
]
&
(
NSShiftKeyMask
|
NSControlKeyMask
|
NSAlternateKeyMask
|
NSCommandKeyMask
))
!=
NSCommandKeyMask
))
{
...
...
dlls/winemac.drv/cocoa_window.h
View file @
3faf1a92
...
...
@@ -60,6 +60,8 @@
}
@property
(
retain
,
readonly
,
nonatomic
)
WineEventQueue
*
queue
;
@property
(
readonly
,
nonatomic
)
BOOL
disabled
;
@property
(
readonly
,
nonatomic
)
BOOL
noActivate
;
@property
(
readonly
,
nonatomic
)
BOOL
floating
;
@property
(
readonly
,
getter
=
isFullscreen
,
nonatomic
)
BOOL
fullscreen
;
...
...
dlls/winemac.drv/cocoa_window.m
View file @
3faf1a92
...
...
@@ -136,8 +136,8 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
@interface
WineWindow
()
@property
(
nonatomic
)
BOOL
disabled
;
@property
(
nonatomic
)
BOOL
noActivate
;
@property
(
readwrite
,
nonatomic
)
BOOL
disabled
;
@property
(
readwrite
,
nonatomic
)
BOOL
noActivate
;
@property
(
readwrite
,
nonatomic
)
BOOL
floating
;
@property
(
retain
,
nonatomic
)
NSWindow
*
latentParentWindow
;
...
...
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