Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
dbf60b07
Commit
dbf60b07
authored
Sep 27, 2007
by
Jason Rumney
Browse files
(w32_window_app): Init common controls when windowed.
parent
2e2d2377
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
lib-src/ChangeLog
lib-src/ChangeLog
+6
-0
lib-src/emacsclient.c
lib-src/emacsclient.c
+8
-3
No files found.
lib-src/ChangeLog
View file @
dbf60b07
2007-09-27 Jason Rumney <jasonr@gnu.org>
* makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
* emacsclient.c (w32_window_app): Init common controls when windowed.
2007-08-25 Eli Zaretskii <eliz@gnu.org>
* Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
...
...
lib-src/emacsclient.c
View file @
dbf60b07
...
...
@@ -35,6 +35,7 @@ Boston, MA 02110-1301, USA. */
# include <malloc.h>
# include <stdlib.h>
# include <windows.h>
# include <commctrl.h>
# define NO_SOCKETS_IN_FILE_SYSTEM
...
...
@@ -159,9 +160,13 @@ w32_window_app ()
char
szTitle
[
MAX_PATH
];
if
(
window_app
<
0
)
/* Checking for STDOUT does not work; it's a valid handle also in
nonconsole apps. Testing for the console title seems to work. */
window_app = (GetConsoleTitleA (szTitle, MAX_PATH) == 0);
{
/* Checking for STDOUT does not work; it's a valid handle also in
nonconsole apps. Testing for the console title seems to work. */
window_app
=
(
GetConsoleTitleA
(
szTitle
,
MAX_PATH
)
==
0
);
if
(
window_app
)
InitCommonControls
();
}
return
window_app
;
}
...
...
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