Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 576 Lines • ▼ Show 20 Line(s) | 576 | { | |||
---|---|---|---|---|---|
577 | if (m_internal) { | 577 | if (m_internal) { | ||
578 | return false; | 578 | return false; | ||
579 | } | 579 | } | ||
580 | return true; | 580 | return true; | ||
581 | } | 581 | } | ||
582 | 582 | | |||
583 | bool ShellClient::isMinimizable() const | 583 | bool ShellClient::isMinimizable() const | ||
584 | { | 584 | { | ||
585 | if (m_internal) { | ||||
586 | return false; | ||||
587 | } | ||||
585 | return (!m_plasmaShellSurface || m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::Normal); | 588 | return (!m_plasmaShellSurface || m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::Normal); | ||
586 | } | 589 | } | ||
587 | 590 | | |||
588 | bool ShellClient::isMovable() const | 591 | bool ShellClient::isMovable() const | ||
589 | { | 592 | { | ||
590 | if (m_plasmaShellSurface) { | 593 | if (m_plasmaShellSurface) { | ||
591 | return m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::Normal; | 594 | return m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::Normal; | ||
592 | } | 595 | } | ||
▲ Show 20 Lines • Show All 654 Lines • Show Last 20 Lines |