Mir

Comment 11 for bug 1699484

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

...and the problem can seemingly be avoided by hacking src/server/graphics/nested/platform.cpp to ignore the size of the buffer:

    bool passthrough_candidate(mir::geometry::Size /*size*/, mg::BufferUsage usage)
    {
        return connection->supports_passthrough(usage) /*&&
            (size.width >= mir::geometry::Width{480}) && (size.height >= mir::geometry::Height{480})*/;
    }

(And no, I don't know what those magic numbers are for.)