Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 573 Lines • ▼ Show 20 Line(s) | 565 | { | |||
---|---|---|---|---|---|
574 | if (!noBorder()) { | 574 | if (!noBorder()) { | ||
575 | createDecoration(oldgeom); | 575 | createDecoration(oldgeom); | ||
576 | } else | 576 | } else | ||
577 | destroyDecoration(); | 577 | destroyDecoration(); | ||
578 | if (m_serverDecoration && isDecorated()) { | 578 | if (m_serverDecoration && isDecorated()) { | ||
579 | m_serverDecoration->setMode(KWayland::Server::ServerSideDecorationManagerInterface::Mode::Server); | 579 | m_serverDecoration->setMode(KWayland::Server::ServerSideDecorationManagerInterface::Mode::Server); | ||
580 | } | 580 | } | ||
581 | if (m_xdgDecoration) { | 581 | if (m_xdgDecoration) { | ||
582 | auto mode = isDecorated() ? XdgDecorationInterface::Mode::ServerSide: XdgDecorationInterface::Mode::ClientSide; | 582 | auto mode = isDecorated() || m_userNoBorder ? XdgDecorationInterface::Mode::ServerSide: XdgDecorationInterface::Mode::ClientSide; | ||
583 | m_xdgDecoration->configure(mode); | 583 | m_xdgDecoration->configure(mode); | ||
584 | m_xdgShellSurface->configure(xdgSurfaceStates(), m_requestedClientSize); | 584 | m_xdgShellSurface->configure(xdgSurfaceStates(), m_requestedClientSize); | ||
585 | } | 585 | } | ||
586 | getShadow(); | 586 | getShadow(); | ||
587 | if (check_workspace_pos) | 587 | if (check_workspace_pos) | ||
588 | checkWorkspacePosition(oldgeom, -2, oldClientGeom); | 588 | checkWorkspacePosition(oldgeom, -2, oldClientGeom); | ||
589 | blockGeometryUpdates(false); | 589 | blockGeometryUpdates(false); | ||
590 | } | 590 | } | ||
▲ Show 20 Lines • Show All 1405 Lines • Show Last 20 Lines |