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

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

bug#19776: The hourglass


From: Eli Zaretskii
Subject: bug#19776: The hourglass
Date: Mon, 25 Oct 2021 19:51:29 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: 19776@debbugs.gnu.org,  dmantipov@yandex.ru,  stefan@marxist.se,
>   schwab@linux-m68k.org,  monnier@iro.umontreal.ca,  rms@gnu.org
> Date: Mon, 25 Oct 2021 18:41:10 +0200
> 
> static void
> x_show_hourglass (struct frame *f)
> {
> [...]
>              x->hourglass_window = XCreateWindow
>                (dpy, parent, 0, 0, 32000, 32000, 0, 0,
>                 InputOnly, CopyFromParent, mask, &attrs);
>            }
> 
>          XMapRaised (dpy, x->hourglass_window);
>          XFlush (dpy);
>        }
>     }
> }
> 
> If I stick a call to Fredisplay in there, then it'll actually display
> the hourglass, but that seems rather heavy-handed.  What's the proper
> way to trigger the redisplay here?

Try calling FRAME_MOUSE_UPDATE.





reply via email to

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