projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.12
[chise/xemacs-chise.git]
/
src
/
frame-msw.c
diff --git
a/src/frame-msw.c
b/src/frame-msw.c
index
e7c19a0
..
653f53f
100644
(file)
--- a/
src/frame-msw.c
+++ b/
src/frame-msw.c
@@
-181,7
+181,9
@@
mswindows_init_frame_1 (struct frame *f, Lisp_Object props)
hwnd = CreateWindowEx (exstyle,
XEMACS_CLASS,
STRINGP(f->name) ? XSTRING_DATA(f->name) :
hwnd = CreateWindowEx (exstyle,
XEMACS_CLASS,
STRINGP(f->name) ? XSTRING_DATA(f->name) :
- (STRINGP(name) ? XSTRING_DATA(name) : XEMACS_CLASS),
+ (STRINGP(name) ?
+ (CONST Extbyte*)XSTRING_DATA(name) :
+ (CONST Extbyte*)XEMACS_CLASS),
style,
rect_default.left, rect_default.top,
rect_default.width, rect_default.height,
style,
rect_default.left, rect_default.top,
rect_default.width, rect_default.height,
@@
-309,7
+311,7
@@
mswindows_make_frame_visible (struct frame *f)
if (f->iconified)
ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_RESTORE);
else
if (f->iconified)
ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_RESTORE);
else
- ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_SHOWNORMAL);
+ ShowWindow (FRAME_MSWINDOWS_HANDLE(f), SW_SHOW);
f->visible = 1;
f->iconified = 0;
}
f->visible = 1;
f->iconified = 0;
}
@@
-461,7
+463,6
@@
static void
mswindows_raise_frame (struct frame *f)
{
BringWindowToTop (FRAME_MSWINDOWS_HANDLE(f));
mswindows_raise_frame (struct frame *f)
{
BringWindowToTop (FRAME_MSWINDOWS_HANDLE(f));
- /* XXX Should we do SetWindowForeground too ? */
}
static void
}
static void