Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 582 Lines • ▼ Show 20 Line(s) | 574 | { | |||
---|---|---|---|---|---|
583 | if (!noBorder()) { | 583 | if (!noBorder()) { | ||
584 | createDecoration(oldgeom); | 584 | createDecoration(oldgeom); | ||
585 | } else | 585 | } else | ||
586 | destroyDecoration(); | 586 | destroyDecoration(); | ||
587 | if (m_serverDecoration && isDecorated()) { | 587 | if (m_serverDecoration && isDecorated()) { | ||
588 | m_serverDecoration->setMode(KWayland::Server::ServerSideDecorationManagerInterface::Mode::Server); | 588 | m_serverDecoration->setMode(KWayland::Server::ServerSideDecorationManagerInterface::Mode::Server); | ||
589 | } | 589 | } | ||
590 | if (m_xdgDecoration) { | 590 | if (m_xdgDecoration) { | ||
591 | auto mode = isDecorated() ? XdgDecorationInterface::Mode::ServerSide: XdgDecorationInterface::Mode::ClientSide; | 591 | auto mode = isDecorated() || m_userNoBorder ? XdgDecorationInterface::Mode::ServerSide: XdgDecorationInterface::Mode::ClientSide; | ||
592 | m_xdgDecoration->configure(mode); | 592 | m_xdgDecoration->configure(mode); | ||
593 | m_xdgShellSurface->configure(xdgSurfaceStates(), m_requestedClientSize); | 593 | m_xdgShellSurface->configure(xdgSurfaceStates(), m_requestedClientSize); | ||
594 | } | 594 | } | ||
595 | getShadow(); | 595 | getShadow(); | ||
596 | if (check_workspace_pos) | 596 | if (check_workspace_pos) | ||
597 | checkWorkspacePosition(oldgeom, -2, oldClientGeom); | 597 | checkWorkspacePosition(oldgeom, -2, oldClientGeom); | ||
598 | blockGeometryUpdates(false); | 598 | blockGeometryUpdates(false); | ||
599 | } | 599 | } | ||
▲ Show 20 Lines • Show All 991 Lines • Show Last 20 Lines |