コード例 #1
0
ファイル: shellsurface.cpp プロジェクト: giucam/orbital
void ShellSurface::availableGeometryChanged()
{
    Output *o = static_cast<Output *>(sender());
    if (m_nextType == Type::Toplevel && m_toplevel.maximized && m_toplevel.output == o) {
        QRect rect = o->availableGeometry();
        sendConfigure(rect.width(), rect.height());
    }
}