Changeset View
Changeset View
Standalone View
Standalone View
workspace.h
Show First 20 Lines • Show All 127 Lines • ▼ Show 20 Line(s) | 67 | public: | |||
---|---|---|---|---|---|
128 | */ | 128 | */ | ||
129 | Unmanaged *findUnmanaged(xcb_window_t w) const; | 129 | Unmanaged *findUnmanaged(xcb_window_t w) const; | ||
130 | void forEachUnmanaged(std::function<void (Unmanaged*)> func); | 130 | void forEachUnmanaged(std::function<void (Unmanaged*)> func); | ||
131 | Toplevel *findToplevel(std::function<bool (const Toplevel*)> func) const; | 131 | Toplevel *findToplevel(std::function<bool (const Toplevel*)> func) const; | ||
132 | /** | 132 | /** | ||
133 | * @brief Finds a Toplevel for the internal window @p w. | 133 | * @brief Finds a Toplevel for the internal window @p w. | ||
134 | * | 134 | * | ||
135 | * Internal window means a window created by KWin itself. On X11 this is an Unmanaged | 135 | * Internal window means a window created by KWin itself. On X11 this is an Unmanaged | ||
136 | * and mapped by the window id, on Wayland a ShellClient mapped on the internal window id. | 136 | * and mapped by the window id, on Wayland a XdgShellClient mapped on the internal window id. | ||
137 | * | 137 | * | ||
138 | * @returns Toplevel | 138 | * @returns Toplevel | ||
139 | */ | 139 | */ | ||
140 | Toplevel *findInternal(QWindow *w) const; | 140 | Toplevel *findInternal(QWindow *w) const; | ||
141 | 141 | | |||
142 | QRect clientArea(clientAreaOption, const QPoint& p, int desktop) const; | 142 | QRect clientArea(clientAreaOption, const QPoint& p, int desktop) const; | ||
143 | QRect clientArea(clientAreaOption, const AbstractClient* c) const; | 143 | QRect clientArea(clientAreaOption, const AbstractClient* c) const; | ||
144 | QRect clientArea(clientAreaOption, int screen, int desktop) const; | 144 | QRect clientArea(clientAreaOption, int screen, int desktop) const; | ||
▲ Show 20 Lines • Show All 654 Lines • Show Last 20 Lines |