Comment 16 for bug 317366

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

After actually reading a linked post from ML (It was unavailable before) I've decided to use the same patch that was proposed upstream. Attaching patch and quoting description for further reference as rxvt-unicode doesn't use any patch system. I'll prepare a new debdiff shortly.

> Hi,
>
> With recent Xorg upgrades, grabbing synchronously when a popup window
> is mapped is fatal, as this sends the event loop to continually wait
> for the server to come available again which it can't do as nothing is
> ever releasing the grab. The fix then is for the callers to *not*
> force synchronous mode when calling rxvt_term::grab().
>
> See patch attached.
>
> (Note that originally I was almost tempted to just mangle the
> selection of GrabModeSync and GrabModeAsync to always be
> GrabModeAsync, however there's perfectly valid times when something
> might want to grab synchronously -- it's just nothing uses that yet.)