diff options
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 893ce9269c1..252e3ed7c18 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -13334,7 +13334,9 @@ note_tab_bar_highlight (struct frame *f, int x, int y) | |||
| 13334 | { | 13334 | { |
| 13335 | Lisp_Object window = f->tab_bar_window; | 13335 | Lisp_Object window = f->tab_bar_window; |
| 13336 | struct window *w = XWINDOW (window); | 13336 | struct window *w = XWINDOW (window); |
| 13337 | #ifndef HAVE_NS | ||
| 13337 | Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); | 13338 | Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f); |
| 13339 | #endif | ||
| 13338 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); | 13340 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); |
| 13339 | int hpos, vpos; | 13341 | int hpos, vpos; |
| 13340 | struct glyph *glyph; | 13342 | struct glyph *glyph; |
| @@ -13344,7 +13346,9 @@ note_tab_bar_highlight (struct frame *f, int x, int y) | |||
| 13344 | int prop_idx; | 13346 | int prop_idx; |
| 13345 | bool close_p; | 13347 | bool close_p; |
| 13346 | enum draw_glyphs_face draw = DRAW_IMAGE_RAISED; | 13348 | enum draw_glyphs_face draw = DRAW_IMAGE_RAISED; |
| 13349 | #ifndef HAVE_NS | ||
| 13347 | bool mouse_down_p; | 13350 | bool mouse_down_p; |
| 13351 | #endif | ||
| 13348 | int rc; | 13352 | int rc; |
| 13349 | 13353 | ||
| 13350 | /* Function note_mouse_highlight is called with negative X/Y | 13354 | /* Function note_mouse_highlight is called with negative X/Y |