Changeset View
Changeset View
Standalone View
Standalone View
src/server/plasmashell_interface.h
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Line(s) | 82 | public: | |||
---|---|---|---|---|---|
163 | * @see hideAutoHidingPanel | 163 | * @see hideAutoHidingPanel | ||
164 | * @see panelAutoHideHideRequested | 164 | * @see panelAutoHideHideRequested | ||
165 | * @see panelAutoHideShowRequested | 165 | * @see panelAutoHideShowRequested | ||
166 | * @see 5.28 | 166 | * @see 5.28 | ||
167 | **/ | 167 | **/ | ||
168 | void showAutoHidingPanel(); | 168 | void showAutoHidingPanel(); | ||
169 | 169 | | |||
170 | /** | 170 | /** | ||
171 | * Whether a PlasmaShellSurfaceInterface with Role Panel wants to have focus. | 171 | * Whether a PlasmaShellSurfaceInterface wants to have focus. | ||
172 | * | 172 | * | ||
173 | * By default a Panel does not get focus, but the PlasmaShellSurfaceInterface can | 173 | * By default some PlasmaShell roles do not get focus, but the PlasmaShellSurfaceInterface can | ||
174 | * request that it wants to have focus. The compositor can use this information to | 174 | * request that it wants to have focus. The compositor can use this information to | ||
175 | * pass focus to the panel. | 175 | * pass focus to the surface. | ||
176 | * @since 5.28 | 176 | * @since 5.28 | ||
177 | **/ | 177 | **/ | ||
178 | //TODO KF6 rename to something generic | ||||
apol: How about we rename now and deprecate this one? | |||||
Yea, could be better. David should decide on what he prefers. But the renaming should then anyway go into a separate patch. romangg: Yea, could be better. David should decide on what he prefers. But the renaming should then… | |||||
178 | bool panelTakesFocus() const; | 179 | bool panelTakesFocus() const; | ||
179 | 180 | | |||
180 | /** | 181 | /** | ||
181 | * @returns The PlasmaShellSurfaceInterface for the @p native resource. | 182 | * @returns The PlasmaShellSurfaceInterface for the @p native resource. | ||
182 | * @since 5.5 | 183 | * @since 5.5 | ||
183 | **/ | 184 | **/ | ||
184 | static PlasmaShellSurfaceInterface *get(wl_resource *native); | 185 | static PlasmaShellSurfaceInterface *get(wl_resource *native); | ||
185 | 186 | | |||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |
How about we rename now and deprecate this one?