Changeset View
Changeset View
Standalone View
Standalone View
workspace.h
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Line(s) | 71 | public: | |||
---|---|---|---|---|---|
128 | * @brief Finds the Unmanaged with the given window id. | 128 | * @brief Finds the Unmanaged with the given window id. | ||
129 | * | 129 | * | ||
130 | * @param w The window id to search for | 130 | * @param w The window id to search for | ||
131 | * @return KWin::Unmanaged* Found Unmanaged or @c null if there is no Unmanaged with given Id. | 131 | * @return KWin::Unmanaged* Found Unmanaged or @c null if there is no Unmanaged with given Id. | ||
132 | */ | 132 | */ | ||
133 | Unmanaged *findUnmanaged(xcb_window_t w) const; | 133 | Unmanaged *findUnmanaged(xcb_window_t w) const; | ||
134 | void forEachUnmanaged(std::function<void (Unmanaged*)> func); | 134 | void forEachUnmanaged(std::function<void (Unmanaged*)> func); | ||
135 | Toplevel *findToplevel(std::function<bool (const Toplevel*)> func) const; | 135 | Toplevel *findToplevel(std::function<bool (const Toplevel*)> func) const; | ||
136 | void forEachToplevel(std::function<void (Toplevel *)> func); | ||||
136 | /** | 137 | /** | ||
137 | * @brief Finds a Toplevel for the internal window @p w. | 138 | * @brief Finds a Toplevel for the internal window @p w. | ||
138 | * | 139 | * | ||
139 | * Internal window means a window created by KWin itself. On X11 this is an Unmanaged | 140 | * Internal window means a window created by KWin itself. On X11 this is an Unmanaged | ||
140 | * and mapped by the window id, on Wayland a XdgShellClient mapped on the internal window id. | 141 | * and mapped by the window id, on Wayland a XdgShellClient mapped on the internal window id. | ||
141 | * | 142 | * | ||
142 | * @returns Toplevel | 143 | * @returns Toplevel | ||
143 | */ | 144 | */ | ||
▲ Show 20 Lines • Show All 664 Lines • Show Last 20 Lines |