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
59546024
Commit
59546024
authored
May 23, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restored managed mode config file option.
parent
9df2e56b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
window.c
dlls/x11drv/window.c
+1
-1
x11drv_main.c
dlls/x11drv/x11drv_main.c
+4
-1
x11drv.h
include/x11drv.h
+1
-0
No files found.
dlls/x11drv/window.c
View file @
59546024
...
...
@@ -38,7 +38,6 @@
#include "win.h"
#include "winpos.h"
#include "dce.h"
#include "options.h"
#include "hook.h"
#include "mwm.h"
...
...
@@ -74,6 +73,7 @@ static LPCSTR icon_window_atom;
*/
inline
static
BOOL
is_window_managed
(
WND
*
win
)
{
if
(
!
managed_mode
)
return
FALSE
;
/* tray window is always managed */
if
(
win
->
dwExStyle
&
WS_EX_TRAYWINDOW
)
return
TRUE
;
/* child windows are not managed */
...
...
dlls/x11drv/x11drv_main.c
View file @
59546024
...
...
@@ -39,7 +39,6 @@
#include "wine/debug.h"
#include "gdi.h"
#include "file.h"
#include "options.h"
#include "user.h"
#include "win.h"
#include "wine_gl.h"
...
...
@@ -61,6 +60,7 @@ unsigned int screen_height;
unsigned
int
screen_depth
;
Window
root_window
;
int
dxgrab
,
usedga
,
usexvidmode
;
int
managed_mode
=
1
;
unsigned
int
X11DRV_server_startticks
;
...
...
@@ -232,6 +232,9 @@ static void setup_options(void)
if
(
!
IS_OPTION_FALSE
(
buffer
[
0
]))
desktop_geometry
=
strdup
(
buffer
);
}
if
(
!
get_config_key
(
hkey
,
appkey
,
"Managed"
,
buffer
,
sizeof
(
buffer
)
))
managed_mode
=
IS_OPTION_TRUE
(
buffer
[
0
]
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"DXGrab"
,
buffer
,
sizeof
(
buffer
)
))
dxgrab
=
IS_OPTION_TRUE
(
buffer
[
0
]
);
...
...
include/x11drv.h
View file @
59546024
...
...
@@ -351,6 +351,7 @@ extern unsigned int screen_width;
extern
unsigned
int
screen_height
;
extern
unsigned
int
screen_depth
;
extern
unsigned
int
text_caps
;
extern
int
managed_mode
;
extern
Atom
wmProtocols
;
extern
Atom
wmDeleteWindow
;
...
...
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