[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19776: The hourglass
From: |
Lars Ingebrigtsen |
Subject: |
bug#19776: The hourglass |
Date: |
Mon, 25 Oct 2021 18:41:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
When not using the timerfd stuff, the hourglass timer is triggered
correctly even when busy-looping like this:
(while t)
But it's not actually displayed until there's a keyboard/mouse event, or
redisplay is triggered otherwise. So it's this code:
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?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#19776: 25.0.50; HTML rendering is very slow, (continued)
- bug#19776: 25.0.50; HTML rendering is very slow, Lars Ingebrigtsen, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Eli Zaretskii, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Andreas Schwab, 2021/10/25
- bug#19776: timerfd doesn't work when busy-looping, Lars Ingebrigtsen, 2021/10/25
- bug#19776: timerfd doesn't work when busy-looping, Eli Zaretskii, 2021/10/25
- bug#19776: timerfd doesn't work when busy-looping, Lars Ingebrigtsen, 2021/10/25
- bug#19776: The hourglass,
Lars Ingebrigtsen <=
- bug#19776: The hourglass, Eli Zaretskii, 2021/10/25
- bug#19776: The hourglass, Lars Ingebrigtsen, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Eli Zaretskii, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Lars Ingebrigtsen, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Eli Zaretskii, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Lars Ingebrigtsen, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Eli Zaretskii, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Andreas Schwab, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Eli Zaretskii, 2021/10/25
- bug#19776: 25.0.50; HTML rendering is very slow, Andreas Schwab, 2021/10/25