Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 1929 Lines • ▼ Show 20 Line(s) | 1929 | if (geometry().intersects(outputGeom)) { | |||
---|---|---|---|---|---|
1930 | clientOutputs << output; | 1930 | clientOutputs << output; | ||
1931 | } | 1931 | } | ||
1932 | } | 1932 | } | ||
1933 | surface()->setOutputs(clientOutputs); | 1933 | surface()->setOutputs(clientOutputs); | ||
1934 | } | 1934 | } | ||
1935 | 1935 | | |||
1936 | bool ShellClient::isPopupWindow() const | 1936 | bool ShellClient::isPopupWindow() const | ||
1937 | { | 1937 | { | ||
1938 | if (Toplevel::isPopupWindow()) { | ||||
1939 | return true; | ||||
1940 | } | ||||
1938 | if (m_shellSurface != nullptr) { | 1941 | if (m_shellSurface != nullptr) { | ||
1939 | return m_shellSurface->isPopup(); | 1942 | return m_shellSurface->isPopup(); | ||
1940 | } | 1943 | } | ||
1941 | if (m_xdgShellPopup != nullptr) { | 1944 | if (m_xdgShellPopup != nullptr) { | ||
1942 | return true; | 1945 | return true; | ||
1943 | } | 1946 | } | ||
1944 | return false; | 1947 | return false; | ||
1945 | } | 1948 | } | ||
1946 | 1949 | | |||
1947 | } | 1950 | } |