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
1d5bcd55
Commit
1d5bcd55
authored
May 19, 2007
by
YAMAMOTO Mitsuharu
Browse files
(x_calc_absolute_position): Add BLOCK_INPUT around
mac_get_window_bounds.
parent
de9606f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/macterm.c
src/macterm.c
+2
-0
No files found.
src/ChangeLog
View file @
1d5bcd55
2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around
mac_get_window_bounds.
2007-05-17 Glenn Morris <rgm@gnu.org>
2007-05-17 Glenn Morris <rgm@gnu.org>
* m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD.
* m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD.
...
...
src/macterm.c
View file @
1d5bcd55
...
@@ -6084,7 +6084,9 @@ x_calc_absolute_position (f)
...
@@ -6084,7 +6084,9 @@ x_calc_absolute_position (f)
/* Find the offsets of the outside upper-left corner of
/* Find the offsets of the outside upper-left corner of
the inner window, with respect to the outer window. */
the inner window, with respect to the outer window. */
BLOCK_INPUT;
mac_get_window_bounds (f, &inner, &outer);
mac_get_window_bounds (f, &inner, &outer);
UNBLOCK_INPUT;
width_diff = (outer.right - outer.left) - (inner.right - inner.left);
width_diff = (outer.right - outer.left) - (inner.right - inner.left);
height_diff = (outer.bottom - outer.top) - (inner.bottom - inner.top);
height_diff = (outer.bottom - outer.top) - (inner.bottom - inner.top);
...
...
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