diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/macterm.c | 10 |
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 | |||
| 1325 | x_update_end (f) | 1325 | x_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; |