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
12cc863a
Commit
12cc863a
authored
Oct 12, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conhost: Set console window title.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b2487c17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
conhost.c
programs/conhost/conhost.c
+5
-0
No files found.
programs/conhost/conhost.c
View file @
12cc863a
...
...
@@ -2292,6 +2292,8 @@ static NTSTATUS set_console_title( struct console *console, const WCHAR *in_titl
tty_write
(
console
,
"
\x07
"
,
1
);
tty_sync
(
console
);
}
if
(
console
->
win
)
SetWindowTextW
(
console
->
win
,
console
->
title
);
return
STATUS_SUCCESS
;
}
...
...
@@ -2755,7 +2757,10 @@ int __cdecl wmain(int argc, WCHAR *argv[])
}
else
{
STARTUPINFOW
si
;
if
(
!
init_window
(
&
console
))
return
1
;
GetStartupInfoW
(
&
si
);
set_console_title
(
&
console
,
si
.
lpTitle
,
wcslen
(
si
.
lpTitle
)
*
sizeof
(
WCHAR
)
);
ShowWindow
(
console
.
win
,
SW_SHOW
);
}
...
...
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