diff options
| author | Lars Ingebrigtsen | 2022-03-22 21:09:16 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-03-22 21:09:16 +0100 |
| commit | a0e33850702e84ca747178b0eba0f43ef30c14fc (patch) | |
| tree | a24a0ec1784a86d2254de58519c5581f7ef498ef /src | |
| parent | 5334e726d02473ecf441acb1501f44feb42a7325 (diff) | |
| download | emacs-a0e33850702e84ca747178b0eba0f43ef30c14fc.tar.gz emacs-a0e33850702e84ca747178b0eba0f43ef30c14fc.zip | |
Fix a keyboard.c no-X compilation warning
* src/keyboard.c (make_lispy_position): Fix compilation warning in
a --without-x build.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 218f9a86c86..8b451d834d1 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -5247,12 +5247,12 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y, | |||
| 5247 | Lisp_Object window_or_frame = f | 5247 | Lisp_Object window_or_frame = f |
| 5248 | ? window_from_coordinates (f, mx, my, &part, true, true) | 5248 | ? window_from_coordinates (f, mx, my, &part, true, true) |
| 5249 | : Qnil; | 5249 | : Qnil; |
| 5250 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 5250 | bool tool_bar_p = false; | 5251 | bool tool_bar_p = false; |
| 5251 | bool menu_bar_p = false; | 5252 | bool menu_bar_p = false; |
| 5252 | 5253 | ||
| 5253 | /* Report mouse events on the tab bar and (on GUI frames) on the | 5254 | /* Report mouse events on the tab bar and (on GUI frames) on the |
| 5254 | tool bar. */ | 5255 | tool bar. */ |
| 5255 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 5256 | if ((WINDOWP (f->tab_bar_window) | 5256 | if ((WINDOWP (f->tab_bar_window) |
| 5257 | && EQ (window_or_frame, f->tab_bar_window)) | 5257 | && EQ (window_or_frame, f->tab_bar_window)) |
| 5258 | #ifndef HAVE_EXT_TOOL_BAR | 5258 | #ifndef HAVE_EXT_TOOL_BAR |