[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar
From: |
Po Lu |
Subject: |
bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar |
Date: |
Tue, 12 Oct 2021 08:09:49 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
martin rudalics <rudalics@gmx.at> writes:
> Maybe, I didn't check. How about brute force like the below?
>
> martin
>
> diff --git a/src/keyboard.c b/src/keyboard.c
> index bc6f97586d..ba625c4f77 100644
> --- a/src/keyboard.c
> +++ b/src/keyboard.c
> @@ -5122,7 +5122,8 @@ make_lispy_position (struct frame *f, Lisp_Object x,
> Lisp_Object y,
> #endif
> )
> {
> - posn = EQ (window_or_frame, f->tab_bar_window) ? Qtab_bar : Qtool_bar;
> + if (NILP (track_mouse))
> + posn = EQ (window_or_frame, f->tab_bar_window) ? Qtab_bar : Qtool_bar;
> /* Kludge alert: for mouse events on the tab bar and tool bar,
> keyboard.c wants the frame, not the special-purpose window
> we use to display those, and it wants frame-relative
This seems to work.
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, (continued)
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Eli Zaretskii, 2021/10/10
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Stefan Monnier, 2021/10/10
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Po Lu, 2021/10/10
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/11
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Po Lu, 2021/10/11
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/11
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Po Lu, 2021/10/11
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/11
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Po Lu, 2021/10/11
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/11
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar,
Po Lu <=
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/12
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Eli Zaretskii, 2021/10/12
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/12
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Eli Zaretskii, 2021/10/12
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/12
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Juri Linkov, 2021/10/12
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/13
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Eli Zaretskii, 2021/10/13
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, martin rudalics, 2021/10/14
- bug#50993: 29.0.50; Problems when dragging the mouse over the toolbar, Juri Linkov, 2021/10/13