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
c37c9bf6
Commit
c37c9bf6
authored
Jul 29, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Remove no longer needed CONSOLE_RENDERER_ACTIVE_SB_EVENT events.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1f5a45e6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
23 deletions
+0
-23
condrv.h
include/wine/condrv.h
+0
-1
wineconsole.c
programs/wineconsole/wineconsole.c
+0
-18
console.c
server/console.c
+0
-4
No files found.
include/wine/condrv.h
View file @
c37c9bf6
...
...
@@ -206,7 +206,6 @@ enum condrv_renderer_event_type
{
CONSOLE_RENDERER_NONE_EVENT
,
CONSOLE_RENDERER_TITLE_EVENT
,
CONSOLE_RENDERER_ACTIVE_SB_EVENT
,
CONSOLE_RENDERER_SB_RESIZE_EVENT
,
CONSOLE_RENDERER_UPDATE_EVENT
,
CONSOLE_RENDERER_CURSOR_POS_EVENT
,
...
...
programs/wineconsole/wineconsole.c
View file @
c37c9bf6
...
...
@@ -199,7 +199,6 @@ void WINECON_GrabChanges(struct inner_data* data)
struct
condrv_renderer_event
*
evts
=
data
->
events
;
int
i
,
ev_found
;
DWORD
num
;
HANDLE
h
;
if
(
data
->
in_grab_changes
)
return
;
...
...
@@ -267,23 +266,6 @@ void WINECON_GrabChanges(struct inner_data* data)
WINE_TRACE
(
"%u/%u: title()
\n
"
,
i
+
1
,
num
);
data
->
fnSetTitle
(
data
);
break
;
case
CONSOLE_RENDERER_ACTIVE_SB_EVENT
:
SERVER_START_REQ
(
open_console
)
{
req
->
from
=
wine_server_obj_handle
(
data
->
hConIn
);
req
->
access
=
GENERIC_READ
|
GENERIC_WRITE
;
req
->
attributes
=
0
;
req
->
share
=
FILE_SHARE_READ
|
FILE_SHARE_WRITE
;
h
=
wine_server_call_err
(
req
)
?
0
:
wine_server_ptr_handle
(
reply
->
handle
);
}
SERVER_END_REQ
;
WINE_TRACE
(
"%u/%u: active(%p)
\n
"
,
i
+
1
,
num
,
h
);
if
(
h
)
{
CloseHandle
(
data
->
hConOut
);
data
->
hConOut
=
h
;
}
break
;
case
CONSOLE_RENDERER_SB_RESIZE_EVENT
:
if
(
data
->
curcfg
.
sb_width
!=
evts
[
i
].
u
.
resize
.
width
||
data
->
curcfg
.
sb_height
!=
evts
[
i
].
u
.
resize
.
height
)
...
...
server/console.c
View file @
c37c9bf6
...
...
@@ -496,10 +496,6 @@ static void generate_sb_initial_events( struct console_input *console_input )
struct
screen_buffer
*
screen_buffer
=
console_input
->
active
;
struct
condrv_renderer_event
evt
;
evt
.
event
=
CONSOLE_RENDERER_ACTIVE_SB_EVENT
;
memset
(
&
evt
.
u
,
0
,
sizeof
(
evt
.
u
));
console_input_events_append
(
console_input
,
&
evt
);
evt
.
event
=
CONSOLE_RENDERER_SB_RESIZE_EVENT
;
evt
.
u
.
resize
.
width
=
screen_buffer
->
width
;
evt
.
u
.
resize
.
height
=
screen_buffer
->
height
;
...
...
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