mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 13:31:37 -07:00
* src/pgtkterm.c (pgtk_flash): Fix input blocking.
This commit is contained in:
parent
7922131bb2
commit
27e080d009
1 changed files with 3 additions and 4 deletions
|
|
@ -3731,12 +3731,12 @@ recover_from_visible_bell (struct atimer *timer)
|
|||
static void
|
||||
pgtk_flash (struct frame *f)
|
||||
{
|
||||
block_input ();
|
||||
|
||||
{
|
||||
if (!FRAME_CR_CONTEXT (f))
|
||||
return;
|
||||
|
||||
block_input ();
|
||||
|
||||
cairo_surface_t *surface_orig = FRAME_CR_SURFACE (f);
|
||||
|
||||
int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f);
|
||||
|
|
@ -3806,9 +3806,8 @@ pgtk_flash (struct frame *f)
|
|||
}
|
||||
|
||||
cairo_destroy (cr);
|
||||
unblock_input ();
|
||||
}
|
||||
|
||||
unblock_input ();
|
||||
}
|
||||
|
||||
/* Make audible bell. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue