aboutsummaryrefslogtreecommitdiffstats
path: root/src/macterm.c
diff options
context:
space:
mode:
authorSteven Tamm2004-09-02 17:00:55 +0000
committerSteven Tamm2004-09-02 17:00:55 +0000
commit404e4b841e25f57265dc245342d809abf2c221f3 (patch)
tree39c12bf3d52291c8cb0c5c4c932fd02f48ae7ee9 /src/macterm.c
parenta8e080143bb539ad9eb9ad8e1e1a14701dafc44b (diff)
downloademacs-404e4b841e25f57265dc245342d809abf2c221f3.tar.gz
emacs-404e4b841e25f57265dc245342d809abf2c221f3.zip
(x_update_end): Move SetPortWindowPort to inside
BLOCK_INPUT. (x_set_offset): Use FRAME_MAC_WINDOW.
Diffstat (limited to 'src/macterm.c')
-rw-r--r--src/macterm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/macterm.c b/src/macterm.c
index 9e482a17c8e..0177d57fec8 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -1325,6 +1325,10 @@ static void
1325x_update_end (f) 1325x_update_end (f)
1326 struct frame *f; 1326 struct frame *f;
1327{ 1327{
1328 /* Mouse highlight may be displayed again. */
1329 FRAME_MAC_DISPLAY_INFO (f)->mouse_face_defer = 0;
1330
1331 BLOCK_INPUT;
1328 /* Reset the background color of Mac OS Window to that of the frame after 1332 /* Reset the background color of Mac OS Window to that of the frame after
1329 update so that it is used by Mac Toolbox to clear the update region before 1333 update so that it is used by Mac Toolbox to clear the update region before
1330 an update event is generated. */ 1334 an update event is generated. */
@@ -1332,10 +1336,6 @@ x_update_end (f)
1332 1336
1333 mac_set_backcolor (FRAME_BACKGROUND_PIXEL (f)); 1337 mac_set_backcolor (FRAME_BACKGROUND_PIXEL (f));
1334 1338
1335 /* Mouse highlight may be displayed again. */
1336 FRAME_MAC_DISPLAY_INFO (f)->mouse_face_defer = 0;
1337
1338 BLOCK_INPUT;
1339 XFlush (FRAME_MAC_DISPLAY (f)); 1339 XFlush (FRAME_MAC_DISPLAY (f));
1340 UNBLOCK_INPUT; 1340 UNBLOCK_INPUT;
1341} 1341}
@@ -5123,7 +5123,7 @@ x_set_offset (f, xoff, yoff, change_gravity)
5123 modified_left = f->left_pos; 5123 modified_left = f->left_pos;
5124 modified_top = f->top_pos; 5124 modified_top = f->top_pos;
5125 5125
5126 MoveWindow (f->output_data.mac->mWP, modified_left + 6, 5126 MoveWindow (FRAME_MAC_WINDOW (f), modified_left + 6,
5127 modified_top + 42, false); 5127 modified_top + 42, false);
5128 5128
5129 UNBLOCK_INPUT; 5129 UNBLOCK_INPUT;