aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitry Antipov2013-08-01 18:54:29 +0400
committerDmitry Antipov2013-08-01 18:54:29 +0400
commitf8c2020882a9f78423d9918f1154655c23859530 (patch)
treeba3cfb69da39477b2241fa337080cfe310538e86 /src
parent06d36e2b5f500764309c00fa96bbed59ee7fd750 (diff)
downloademacs-f8c2020882a9f78423d9918f1154655c23859530.tar.gz
emacs-f8c2020882a9f78423d9918f1154655c23859530.zip
* 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')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/frame.h7
-rw-r--r--src/nsterm.m7
3 files changed, 12 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2e327e5e6dc..95ece0f8970 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
12013-08-01 Dmitry Antipov <dmantipov@yandex.ru> 12013-08-01 Dmitry Antipov <dmantipov@yandex.ru>
2 2
3 * frame.h (FRAME_MOUSE_UPDATE):
4 * nsterm.m (ns_frame_up_to_date): Omit redundant check
5 whether hlinfo->mouse_face_mouse_frame is non-NULL.
6
72013-08-01 Dmitry Antipov <dmantipov@yandex.ru>
8
3 Avoid redundant Lisp_Object <-> struct frame conversions in font API. 9 Avoid redundant Lisp_Object <-> struct frame conversions in font API.
4 * font.h (struct font_driver): Change list, match, and list_family 10 * font.h (struct font_driver): Change list, match, and list_family
5 functions to accept struct frame * as first arg. 11 functions to accept struct frame * as first arg.
diff --git a/src/frame.h b/src/frame.h
index c4c5ec23efc..723a943b90c 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -929,10 +929,9 @@ typedef struct frame *FRAME_PTR;
929 if (frame == hlinfo->mouse_face_mouse_frame) \ 929 if (frame == hlinfo->mouse_face_mouse_frame) \
930 { \ 930 { \
931 block_input (); \ 931 block_input (); \
932 if (hlinfo->mouse_face_mouse_frame) \ 932 note_mouse_highlight (hlinfo->mouse_face_mouse_frame, \
933 note_mouse_highlight (hlinfo->mouse_face_mouse_frame, \ 933 hlinfo->mouse_face_mouse_x, \
934 hlinfo->mouse_face_mouse_x, \ 934 hlinfo->mouse_face_mouse_y); \
935 hlinfo->mouse_face_mouse_y); \
936 unblock_input (); \ 935 unblock_input (); \
937 } \ 936 } \
938 } while (0) 937 } while (0)
diff --git a/src/nsterm.m b/src/nsterm.m
index 7126ef56c5e..59aa7f317ab 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1883,10 +1883,9 @@ ns_frame_up_to_date (struct frame *f)
1883 { 1883 {
1884 block_input (); 1884 block_input ();
1885 ns_update_begin(f); 1885 ns_update_begin(f);
1886 if (hlinfo->mouse_face_mouse_frame) 1886 note_mouse_highlight (hlinfo->mouse_face_mouse_frame,
1887 note_mouse_highlight (hlinfo->mouse_face_mouse_frame, 1887 hlinfo->mouse_face_mouse_x,
1888 hlinfo->mouse_face_mouse_x, 1888 hlinfo->mouse_face_mouse_y);
1889 hlinfo->mouse_face_mouse_y);
1890 ns_update_end(f); 1889 ns_update_end(f);
1891 unblock_input (); 1890 unblock_input ();
1892 } 1891 }