Changeset View
Changeset View
Standalone View
Standalone View
workspace.cpp
Show First 20 Lines • Show All 1690 Lines • ▼ Show 20 Line(s) | 1690 | if (kwinApp()->operationMode() == Application::OperationModeX11) { | |||
---|---|---|---|---|---|
1691 | return findUnmanaged(w->winId()); | 1691 | return findUnmanaged(w->winId()); | ||
1692 | } else { | 1692 | } else { | ||
1693 | return waylandServer()->findClient(w); | 1693 | return waylandServer()->findClient(w); | ||
1694 | } | 1694 | } | ||
1695 | } | 1695 | } | ||
1696 | 1696 | | |||
1697 | void Workspace::markXStackingOrderAsDirty() | 1697 | void Workspace::markXStackingOrderAsDirty() | ||
1698 | { | 1698 | { | ||
1699 | m_xStackingQueryTree.reset(new Xcb::Tree(rootWindow())); | 1699 | m_xStackingDirty = true; | ||
1700 | if (kwinApp()->x11Connection()) { | ||||
1701 | m_xStackingQueryTree.reset(new Xcb::Tree(kwinApp()->x11RootWindow())); | ||||
1702 | } | ||||
1700 | } | 1703 | } | ||
1701 | 1704 | | |||
1702 | void Workspace::setWasUserInteraction() | 1705 | void Workspace::setWasUserInteraction() | ||
1703 | { | 1706 | { | ||
1704 | if (was_user_interaction) { | 1707 | if (was_user_interaction) { | ||
1705 | return; | 1708 | return; | ||
1706 | } | 1709 | } | ||
1707 | was_user_interaction = true; | 1710 | was_user_interaction = true; | ||
Show All 10 Lines |