Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f4e93c40
Commit
f4e93c40
authored
Oct 04, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(make_frame, Fframe_parameters, Fselected_frame, syms_of_frame): Don't use
XFASTINT as an lvalue.
parent
ad17573a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/frame.c
src/frame.c
+9
-9
No files found.
src/frame.c
View file @
f4e93c40
...
...
@@ -197,14 +197,14 @@ make_frame (mini_p)
f
->
width
=
10
;
f
->
height
=
10
;
XFASTINT
(
XWINDOW
(
root_window
)
->
width
)
=
10
;
XFASTINT
(
XWINDOW
(
root_window
)
->
height
)
=
(
mini_p
?
9
:
10
);
X
SET
FASTINT
(
XWINDOW
(
root_window
)
->
width
,
10
)
;
X
SET
FASTINT
(
XWINDOW
(
root_window
)
->
height
,
(
mini_p
?
9
:
10
)
)
;
if
(
mini_p
)
{
XFASTINT
(
XWINDOW
(
mini_window
)
->
width
)
=
10
;
XFASTINT
(
XWINDOW
(
mini_window
)
->
top
)
=
9
;
XFASTINT
(
XWINDOW
(
mini_window
)
->
height
)
=
1
;
X
SET
FASTINT
(
XWINDOW
(
mini_window
)
->
width
,
10
)
;
X
SET
FASTINT
(
XWINDOW
(
mini_window
)
->
top
,
9
)
;
X
SET
FASTINT
(
XWINDOW
(
mini_window
)
->
height
,
1
)
;
}
/* Choose a buffer for the frame's root window. */
...
...
@@ -233,7 +233,7 @@ make_frame (mini_p)
f
->
selected_window
=
root_window
;
/* Make sure this window seems more recently used than
a newly-created, never-selected window. */
XFASTINT
(
XWINDOW
(
f
->
selected_window
)
->
use_time
)
=
++
window_select_count
;
X
SET
FASTINT
(
XWINDOW
(
f
->
selected_window
)
->
use_time
,
++
window_select_count
)
;
return
f
;
}
...
...
@@ -1430,7 +1430,7 @@ If FRAME is omitted, return information on the currently selected frame.")
{
/* This ought to be correct in f->param_alist for an X frame. */
Lisp_Object
lines
;
XFASTINT
(
lines
)
=
FRAME_MENU_BAR_LINES
(
f
);
X
SET
FASTINT
(
lines
,
FRAME_MENU_BAR_LINES
(
f
)
)
;
store_in_alist
(
&
alist
,
Qmenu_bar_lines
,
lines
);
}
return
alist
;
...
...
@@ -1856,7 +1856,7 @@ DEFUN ("selected-frame", Fselected_frame, Sselected_frame, 0, 0, 0,
()
{
Lisp_Object
tem
;
XFASTINT
(
tem
)
=
0
;
X
SET
FASTINT
(
tem
,
0
)
;
return
tem
;
}
...
...
@@ -2119,7 +2119,7 @@ syms_of_frame ()
DEFVAR_LISP
(
"terminal-frame"
,
&
Vterminal_frame
,
"The initial frame-object, which represents Emacs's stdout."
);
XFASTINT
(
Vterminal_frame
)
=
0
;
X
SET
FASTINT
(
Vterminal_frame
,
0
)
;
defsubr
(
&
Sselected_frame
);
defsubr
(
&
Sframe_first_window
);
...
...
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