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
69d35a01
Commit
69d35a01
authored
Nov 28, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac.drv: Use BOOL type where appropriate.
parent
82d5f36c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
window.c
dlls/winemac.drv/window.c
+10
-10
No files found.
dlls/winemac.drv/window.c
View file @
69d35a01
...
...
@@ -62,23 +62,23 @@ static void get_cocoa_window_features(struct macdrv_win_data *data,
if
((
style
&
WS_CAPTION
)
==
WS_CAPTION
&&
!
(
ex_style
&
WS_EX_LAYERED
))
{
wf
->
shadow
=
1
;
wf
->
shadow
=
TRUE
;
if
(
!
data
->
shaped
)
{
wf
->
title_bar
=
1
;
if
(
style
&
WS_SYSMENU
)
wf
->
close_button
=
1
;
if
(
style
&
WS_MINIMIZEBOX
)
wf
->
minimize_button
=
1
;
if
(
style
&
WS_MAXIMIZEBOX
)
wf
->
resizable
=
1
;
if
(
ex_style
&
WS_EX_TOOLWINDOW
)
wf
->
utility
=
1
;
wf
->
title_bar
=
TRUE
;
if
(
style
&
WS_SYSMENU
)
wf
->
close_button
=
TRUE
;
if
(
style
&
WS_MINIMIZEBOX
)
wf
->
minimize_button
=
TRUE
;
if
(
style
&
WS_MAXIMIZEBOX
)
wf
->
resizable
=
TRUE
;
if
(
ex_style
&
WS_EX_TOOLWINDOW
)
wf
->
utility
=
TRUE
;
}
}
if
(
ex_style
&
WS_EX_DLGMODALFRAME
)
wf
->
shadow
=
1
;
if
(
ex_style
&
WS_EX_DLGMODALFRAME
)
wf
->
shadow
=
TRUE
;
else
if
(
style
&
WS_THICKFRAME
)
{
wf
->
shadow
=
1
;
if
(
!
data
->
shaped
)
wf
->
resizable
=
1
;
wf
->
shadow
=
TRUE
;
if
(
!
data
->
shaped
)
wf
->
resizable
=
TRUE
;
}
else
if
((
style
&
(
WS_DLGFRAME
|
WS_BORDER
))
==
WS_DLGFRAME
)
wf
->
shadow
=
1
;
else
if
((
style
&
(
WS_DLGFRAME
|
WS_BORDER
))
==
WS_DLGFRAME
)
wf
->
shadow
=
TRUE
;
}
...
...
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