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
4a148115
Commit
4a148115
authored
Sep 08, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineconsole: Avoid reentering WINECON_GrabChanges.
parent
a763c7db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
winecon_private.h
programs/wineconsole/winecon_private.h
+1
-0
wineconsole.c
programs/wineconsole/wineconsole.c
+4
-0
No files found.
programs/wineconsole/winecon_private.h
View file @
4a148115
...
...
@@ -61,6 +61,7 @@ struct inner_data {
HWND
hWnd
;
/* handle of 'user' window or NULL for 'curses' */
INT
nCmdShow
;
/* argument of WinMain */
BOOL
in_set_config
;
/* to handle re-entrant calls to WINECON_SetConfig */
BOOL
in_grab_changes
;
/* to handle re-entrant calls to WINECON_GrabChanges */
BOOL
dying
;
/* to TRUE when we've been notified by server that child has died */
int
(
*
fnMainLoop
)(
struct
inner_data
*
data
);
...
...
programs/wineconsole/wineconsole.c
View file @
4a148115
...
...
@@ -205,6 +205,8 @@ void WINECON_GrabChanges(struct inner_data* data)
int
i
,
num
,
ev_found
;
HANDLE
h
;
if
(
data
->
in_grab_changes
)
return
;
SERVER_START_REQ
(
get_console_renderer_events
)
{
wine_server_set_reply
(
req
,
evts
,
sizeof
(
evts
)
);
...
...
@@ -258,6 +260,7 @@ void WINECON_GrabChanges(struct inner_data* data)
ev_found
=
i
;
}
data
->
in_grab_changes
=
TRUE
;
for
(
i
=
0
;
i
<
num
;
i
++
)
{
switch
(
evts
[
i
].
event
)
...
...
@@ -355,6 +358,7 @@ void WINECON_GrabChanges(struct inner_data* data)
WINE_FIXME
(
"Unknown event type (%d)
\n
"
,
evts
[
i
].
event
);
}
}
data
->
in_grab_changes
=
FALSE
;
}
/******************************************************************
...
...
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