The input-panel codes tries to see determine if a buffer has not yet been attached (or a NULL buffer has been attached), and doesn't map the input panel surface yet in that case. However, it test for buffer_ref being NULL, which can happen for other reasons. The right test is to see if surface->width is 0, which means that either a buffer hasn't yet been attached or a NULL buffer has been attached. https://bugs.freedesktop.org/show_bug.cgi?id=72519dev
parent
c30c8a3db5
commit
2eebcd34fc
Loading…
Reference in new issue