From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19776: The hourglass Date: Mon, 25 Oct 2021 19:51:29 +0300 Message-ID: <838ryh120e.fsf@gnu.org> References: <87tvsc6syh.fsf@mouse.gnus.org> <87h8oc6sfs.fsf@mouse.gnus.org> <83pmrw5hfs.fsf@gnu.org> <875ytmbnk2.fsf@gnus.org> <83y26i34e1.fsf@gnu.org> <87wnm27b57.fsf@gnus.org> <87sfwq75q4.fsf@gnus.org> <87wnm22q7y.fsf@gnus.org> <83ee8a2pm7.fsf@gnu.org> <87fssq2orj.fsf@gnus.org> <875ytm2h37.fsf@gnus.org> <83mtmx19x8.fsf@gnu.org> <8735op9np0.fsf@igel.home> <87k0i1w3fd.fsf_-_@gnus.org> <83ilxl14fr.fsf@gnu.org> <87wnm1ulkj.fsf@gnus.org> <87o87dukex.fsf_-_@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34658"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 19776@debbugs.gnu.org, dmantipov@yandex.ru, stefan@marxist.se, schwab@linux-m68k.org, monnier@iro.umontreal.ca, rms@gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 25 18:53:23 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mf3Dv-0008pA-0O for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 18:53:23 +0200 Original-Received: from localhost ([::1]:51626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf3Dt-0001Tp-3y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 12:53:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf3Da-0001RC-Bt for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 12:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mf3DZ-0001s2-Vk for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 12:53:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mf3DZ-0002RK-Q5 for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 12:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Oct 2021 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19776 X-GNU-PR-Package: emacs Original-Received: via spool by 19776-submit@debbugs.gnu.org id=B19776.16351807229310 (code B ref 19776); Mon, 25 Oct 2021 16:53:01 +0000 Original-Received: (at 19776) by debbugs.gnu.org; 25 Oct 2021 16:52:02 +0000 Original-Received: from localhost ([127.0.0.1]:44134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf3CQ-0002Pc-7y for submit@debbugs.gnu.org; Mon, 25 Oct 2021 12:52:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf3CO-0002PP-Qn for 19776@debbugs.gnu.org; Mon, 25 Oct 2021 12:51:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48514) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf3CI-0008HY-Ez; Mon, 25 Oct 2021 12:51:42 -0400 Original-Received: from [87.69.77.57] (port=1691 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf3CC-0002Hq-05; Mon, 25 Oct 2021 12:51:36 -0400 In-Reply-To: <87o87dukex.fsf_-_@gnus.org> (message from Lars Ingebrigtsen on Mon, 25 Oct 2021 18:41:10 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218318 Archived-At: > From: Lars Ingebrigtsen > 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.