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
404e4b84
Commit
404e4b84
authored
Sep 02, 2004
by
Steven Tamm
Browse files
(x_update_end): Move SetPortWindowPort to inside
BLOCK_INPUT. (x_set_offset): Use FRAME_MAC_WINDOW.
parent
a8e08014
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/macterm.c
src/macterm.c
+5
-5
No files found.
src/macterm.c
View file @
404e4b84
...
...
@@ -1325,6 +1325,10 @@ static void
x_update_end (f)
struct frame *f;
{
/* Mouse highlight may be displayed again. */
FRAME_MAC_DISPLAY_INFO (f)->mouse_face_defer = 0;
BLOCK_INPUT;
/* Reset the background color of Mac OS Window to that of the frame after
update so that it is used by Mac Toolbox to clear the update region before
an update event is generated. */
...
...
@@ -1332,10 +1336,6 @@ x_update_end (f)
mac_set_backcolor (FRAME_BACKGROUND_PIXEL (f));
/* Mouse highlight may be displayed again. */
FRAME_MAC_DISPLAY_INFO (f)->mouse_face_defer = 0;
BLOCK_INPUT;
XFlush (FRAME_MAC_DISPLAY (f));
UNBLOCK_INPUT;
}
...
...
@@ -5123,7 +5123,7 @@ x_set_offset (f, xoff, yoff, change_gravity)
modified_left = f->left_pos;
modified_top = f->top_pos;
MoveWindow (
f->output_data.mac->mWP
, modified_left + 6,
MoveWindow (
FRAME_MAC_WINDOW (f)
, modified_left + 6,
modified_top + 42, false);
UNBLOCK_INPUT;
...
...
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