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
844c804b
Commit
844c804b
authored
Sep 23, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Sep 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move desktop_vi inside process_attach and remember to free it.
parent
94fbe09c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
x11drv_main.c
dlls/x11drv/x11drv_main.c
+3
-1
No files found.
dlls/x11drv/x11drv_main.c
View file @
844c804b
...
...
@@ -89,7 +89,6 @@ DWORD thread_data_tls_index = TLS_OUT_OF_INDEXES;
static
BOOL
synchronous
;
/* run in synchronous mode? */
static
BOOL
desktop_dbl_buf
=
TRUE
;
static
char
*
desktop_geometry
;
static
XVisualInfo
*
desktop_vi
;
static
x11drv_error_callback
err_callback
;
/* current callback for error */
static
Display
*
err_callback_display
;
/* display callback is set for */
...
...
@@ -374,6 +373,7 @@ static void setup_options(void)
static
BOOL
process_attach
(
void
)
{
Display
*
display
;
XVisualInfo
*
desktop_vi
=
NULL
;
setup_options
();
...
...
@@ -429,6 +429,8 @@ static BOOL process_attach(void)
root_window
=
X11DRV_create_desktop
(
desktop_vi
,
desktop_geometry
);
using_wine_desktop
=
1
;
}
if
(
desktop_vi
)
XFree
(
desktop_vi
);
#ifdef HAVE_LIBXXF86VM
/* initialize XVidMode */
...
...
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