Changeset View
Changeset View
Standalone View
Standalone View
workspace.cpp
Show First 20 Lines • Show All 1742 Lines • ▼ Show 20 Line(s) | 1740 | { | |||
---|---|---|---|---|---|
1743 | } | 1743 | } | ||
1744 | if (kwinApp()->operationMode() == Application::OperationModeX11) { | 1744 | if (kwinApp()->operationMode() == Application::OperationModeX11) { | ||
1745 | return findUnmanaged(w->winId()); | 1745 | return findUnmanaged(w->winId()); | ||
1746 | } else { | 1746 | } else { | ||
1747 | return waylandServer()->findClient(w); | 1747 | return waylandServer()->findClient(w); | ||
1748 | } | 1748 | } | ||
1749 | } | 1749 | } | ||
1750 | 1750 | | |||
1751 | bool Workspace::compositing() const | ||||
1752 | { | ||||
1753 | return m_compositor && m_compositor->hasScene(); | ||||
1754 | } | ||||
1755 | | ||||
1751 | void Workspace::markXStackingOrderAsDirty() | 1756 | void Workspace::markXStackingOrderAsDirty() | ||
1752 | { | 1757 | { | ||
1753 | m_xStackingDirty = true; | 1758 | m_xStackingDirty = true; | ||
1754 | if (kwinApp()->x11Connection()) { | 1759 | if (kwinApp()->x11Connection()) { | ||
1755 | m_xStackingQueryTree.reset(new Xcb::Tree(kwinApp()->x11RootWindow())); | 1760 | m_xStackingQueryTree.reset(new Xcb::Tree(kwinApp()->x11RootWindow())); | ||
1756 | } | 1761 | } | ||
1757 | } | 1762 | } | ||
1758 | 1763 | | |||
Show All 16 Lines |