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
4217fcb1
Commit
4217fcb1
authored
Apr 10, 2008
by
Matthew D'Asaro
Committed by
Alexandre Julliard
Apr 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Add registry option to let wine decorate windows.
parent
81f2d3cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
window.c
dlls/winex11.drv/window.c
+2
-0
x11drv.h
dlls/winex11.drv/x11drv.h
+1
-0
x11drv_main.c
dlls/winex11.drv/x11drv_main.c
+4
-0
No files found.
dlls/winex11.drv/window.c
View file @
4217fcb1
...
...
@@ -148,6 +148,8 @@ static unsigned long get_mwm_decorations( DWORD style, DWORD ex_style )
{
unsigned
long
ret
=
0
;
if
(
!
decorated_mode
)
return
ret
;
if
(
ex_style
&
WS_EX_TOOLWINDOW
)
return
0
;
if
((
style
&
WS_CAPTION
)
==
WS_CAPTION
)
...
...
dlls/winex11.drv/x11drv.h
View file @
4217fcb1
...
...
@@ -548,6 +548,7 @@ extern int use_xkb;
extern
int
use_take_focus
;
extern
int
use_primary_selection
;
extern
int
managed_mode
;
extern
int
decorated_mode
;
extern
int
private_color_map
;
extern
int
primary_monitor
;
extern
int
copy_default_colors
;
...
...
dlls/winex11.drv/x11drv_main.c
View file @
4217fcb1
...
...
@@ -82,6 +82,7 @@ int use_xkb = 1;
int
use_take_focus
=
1
;
int
use_primary_selection
=
0
;
int
managed_mode
=
1
;
int
decorated_mode
=
1
;
int
private_color_map
=
0
;
int
primary_monitor
=
0
;
int
client_side_with_core
=
1
;
...
...
@@ -360,6 +361,9 @@ static void setup_options(void)
if
(
!
get_config_key
(
hkey
,
appkey
,
"Managed"
,
buffer
,
sizeof
(
buffer
)
))
managed_mode
=
IS_OPTION_TRUE
(
buffer
[
0
]
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"Decorated"
,
buffer
,
sizeof
(
buffer
)
))
decorated_mode
=
IS_OPTION_TRUE
(
buffer
[
0
]
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"DXGrab"
,
buffer
,
sizeof
(
buffer
)
))
dxgrab
=
IS_OPTION_TRUE
(
buffer
[
0
]
);
...
...
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