diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-01 18:54:29 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-01 18:54:29 +0400 |
commit | f8c2020882a9f78423d9918f1154655c23859530 (patch) | |
tree | ba3cfb69da39477b2241fa337080cfe310538e86 /src/frame.h | |
parent | 06d36e2b5f500764309c00fa96bbed59ee7fd750 (diff) |
* frame.h (FRAME_MOUSE_UPDATE):
* nsterm.m (ns_frame_up_to_date): Omit redundant check
whether hlinfo->mouse_face_mouse_frame is non-NULL.
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/frame.h b/src/frame.h index c4c5ec23ef..723a943b90 100644 --- a/src/frame.h +++ b/src/frame.h @@ -929,10 +929,9 @@ typedef struct frame *FRAME_PTR; if (frame == hlinfo->mouse_face_mouse_frame) \ { \ block_input (); \ - if (hlinfo->mouse_face_mouse_frame) \ - note_mouse_highlight (hlinfo->mouse_face_mouse_frame, \ - hlinfo->mouse_face_mouse_x, \ - hlinfo->mouse_face_mouse_y); \ + note_mouse_highlight (hlinfo->mouse_face_mouse_frame, \ + hlinfo->mouse_face_mouse_x, \ + hlinfo->mouse_face_mouse_y); \ unblock_input (); \ } \ } while (0) |