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
2d271e2e
Commit
2d271e2e
authored
Apr 03, 1995
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(x_window_to_frame): New arg DPYINFO. All callers changed.
(x_any_window_to_frame, x_top_window_to_frame): Likewise.
parent
34da6b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
src/xfns.c
src/xfns.c
+12
-3
No files found.
src/xfns.c
View file @
2d271e2e
...
...
@@ -263,7 +263,8 @@ check_x_display_info (frame)
/* This function can be called during GC, so use GC_xxx type test macros. */
struct
frame
*
x_window_to_frame
(
wdesc
)
x_window_to_frame
(
dpyinfo
,
wdesc
)
struct
x_display_info
*
dpyinfo
;
int
wdesc
;
{
Lisp_Object
tail
,
frame
;
...
...
@@ -275,6 +276,8 @@ x_window_to_frame (wdesc)
if
(
!
GC_FRAMEP
(
frame
))
continue
;
f
=
XFRAME
(
frame
);
if
(
FRAME_X_DISPLAY_INFO
(
f
)
!=
dpyinfo
)
continue
;
#ifdef USE_X_TOOLKIT
if
(
f
->
display
.
nothing
==
1
)
return
0
;
...
...
@@ -296,7 +299,8 @@ x_window_to_frame (wdesc)
windows. */
struct
frame
*
x_any_window_to_frame
(
wdesc
)
x_any_window_to_frame
(
dpyinfo
,
wdesc
)
struct
x_display_info
*
dpyinfo
;
int
wdesc
;
{
Lisp_Object
tail
,
frame
;
...
...
@@ -309,6 +313,8 @@ x_any_window_to_frame (wdesc)
if
(
!
GC_FRAMEP
(
frame
))
continue
;
f
=
XFRAME
(
frame
);
if
(
FRAME_X_DISPLAY_INFO
(
f
)
!=
dpyinfo
)
continue
;
if
(
f
->
display
.
nothing
==
1
)
return
0
;
x
=
f
->
display
.
x
;
...
...
@@ -328,7 +334,8 @@ x_any_window_to_frame (wdesc)
If WDESC is some other (smaller) window, we return 0. */
struct
frame
*
x_top_window_to_frame
(
wdesc
)
x_top_window_to_frame
(
dpyinfo
,
wdesc
)
struct
x_display_info
*
dpyinfo
;
int
wdesc
;
{
Lisp_Object
tail
,
frame
;
...
...
@@ -341,6 +348,8 @@ x_top_window_to_frame (wdesc)
if
(
!
GC_FRAMEP
(
frame
))
continue
;
f
=
XFRAME
(
frame
);
if
(
FRAME_X_DISPLAY_INFO
(
f
)
!=
dpyinfo
)
continue
;
if
(
f
->
display
.
nothing
==
1
)
return
0
;
x
=
f
->
display
.
x
;
...
...
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