Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 975 Lines • ▼ Show 20 Line(s) | |||||
976 | { | 976 | { | ||
977 | if (!m_internalWindow) { | 977 | if (!m_internalWindow) { | ||
978 | return; | 978 | return; | ||
979 | } | 979 | } | ||
980 | doSetGeometry(QRect(m_internalWindow->geometry().topLeft() - QPoint(borderLeft(), borderTop()), | 980 | doSetGeometry(QRect(m_internalWindow->geometry().topLeft() - QPoint(borderLeft(), borderTop()), | ||
981 | m_internalWindow->geometry().size() + QSize(borderLeft() + borderRight(), borderTop() + borderBottom()))); | 981 | m_internalWindow->geometry().size() + QSize(borderLeft() + borderRight(), borderTop() + borderBottom()))); | ||
982 | } | 982 | } | ||
983 | 983 | | |||
984 | pid_t ShellClient::pid() const | ||||
985 | { | ||||
986 | return surface()->client()->processId(); | ||||
987 | } | ||||
988 | | ||||
984 | bool ShellClient::isInternal() const | 989 | bool ShellClient::isInternal() const | ||
985 | { | 990 | { | ||
986 | return m_internal; | 991 | return m_internal; | ||
987 | } | 992 | } | ||
988 | 993 | | |||
989 | bool ShellClient::isLockScreen() const | 994 | bool ShellClient::isLockScreen() const | ||
990 | { | 995 | { | ||
991 | if (m_internalWindow) { | 996 | if (m_internalWindow) { | ||
▲ Show 20 Lines • Show All 530 Lines • Show Last 20 Lines |