aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorEli Zaretskii2017-11-10 10:35:31 +0200
committerEli Zaretskii2017-11-10 10:35:31 +0200
commitf3e69a80abc04d72d446763bda6859c064233c5d (patch)
tree03cb2239622dcfcdf93cd0172356ae7830d2f3bb /src/dispextern.h
parente6f1fd40916afb692bd25e845ee87e73549201f4 (diff)
downloademacs-f3e69a80abc04d72d446763bda6859c064233c5d.tar.gz
emacs-f3e69a80abc04d72d446763bda6859c064233c5d.zip
Fix display of line numbers in GTK builds
* src/xdisp.c (should_produce_line_number) [USE_GTK]: Make sure tip_frame is indeed a tooltip frame, before disabling line numbers on it. (Bug#27647) * src/dispextern.h (tip_frame): Add commentary describing the kludgey usage of this variable in GTK builds.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index 2f55d8cbc87..430afbf09a3 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -3452,7 +3452,14 @@ void gamma_correct (struct frame *, COLORREF *);
3452void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object); 3452void x_implicitly_set_name (struct frame *, Lisp_Object, Lisp_Object);
3453void x_change_tool_bar_height (struct frame *f, int); 3453void x_change_tool_bar_height (struct frame *f, int);
3454 3454
3455/* The frame used to display a tooltip.
3456
3457 Note: In a GTK build with non-zero x_gtk_use_system_tooltips, this
3458 variable holds the frame that shows the tooltip, not the frame of
3459 the tooltip itself, so checking whether a frame is a tooltip frame
3460 cannot just compare the frame to what this variable holds. */
3455extern Lisp_Object tip_frame; 3461extern Lisp_Object tip_frame;
3462
3456extern Window tip_window; 3463extern Window tip_window;
3457extern frame_parm_handler x_frame_parm_handlers[]; 3464extern frame_parm_handler x_frame_parm_handlers[];
3458 3465