bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20677: tooltips generate garbage


From: Eli Zaretskii
Subject: bug#20677: tooltips generate garbage
Date: Mon, 01 Jun 2015 19:19:44 +0300

> Date: Mon, 01 Jun 2015 17:58:36 +0200
> From: Angelo Graziosi <address@hidden>
> CC: address@hidden, address@hidden
> 
> Hmm... given the issue and looking at the changes, this caught my attention:
> 
> --- a/src/gtkutil.c
> +++ b/src/gtkutil.c
> @@ -3824,8 +3824,7 @@ xg_update_scrollbar_pos (struct frame *f,
>                above.  */
>         oldw += (scale - 1) * oldw;
>         oldx -= (scale - 1) * oldw;
> -          x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
> -                        oldx, oldy, oldw, oldh);
> +          x_clear_area (f, oldx, oldy, oldw, oldh);
> 
> maybe, on linux+X Emacs needs something like this
> 
> # if def(...X11..)
>    [...]
>    x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)...
> #else
>    x_clear_area (f, oldx, oldy, oldw, oldh)...
> #endif

No, the calling sequence of x_clear_area has changed, so that change
was correct, I think.  Are you saying that reverting it makes tooltips
work again?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]