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
fef78c4e
Commit
fef78c4e
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: Allow using console ioctls on renderer object.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e7c9a0e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
console.c
server/console.c
+20
-2
No files found.
server/console.c
View file @
fef78c4e
...
...
@@ -1910,9 +1910,27 @@ static int console_input_events_ioctl( struct fd *fd, ioctl_code_t code, struct
return
!
get_error
();
}
case
IOCTL_CONDRV_SCROLL
:
case
IOCTL_CONDRV_SET_MODE
:
case
IOCTL_CONDRV_WRITE_OUTPUT
:
case
IOCTL_CONDRV_READ_OUTPUT
:
case
IOCTL_CONDRV_FILL_OUTPUT
:
case
IOCTL_CONDRV_GET_OUTPUT_INFO
:
case
IOCTL_CONDRV_SET_OUTPUT_INFO
:
if
(
!
evts
->
console
||
!
evts
->
console
->
active
)
{
set_error
(
STATUS_INVALID_HANDLE
);
return
0
;
}
return
screen_buffer_ioctl
(
evts
->
console
->
active
->
fd
,
code
,
async
);
default:
set_error
(
STATUS_INVALID_HANDLE
);
return
0
;
if
(
!
evts
->
console
)
{
set_error
(
STATUS_INVALID_HANDLE
);
return
0
;
}
return
console_input_ioctl
(
evts
->
console
->
fd
,
code
,
async
);
}
}
...
...
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