Changeset View
Changeset View
Standalone View
Standalone View
effects/scale/scale.cpp
Show First 20 Lines • Show All 268 Lines • ▼ Show 20 Line(s) | 258 | { | |||
---|---|---|---|---|---|
269 | if (s_blacklist.contains(w->windowClass())) { | 269 | if (s_blacklist.contains(w->windowClass())) { | ||
270 | return false; | 270 | return false; | ||
271 | } | 271 | } | ||
272 | 272 | | |||
273 | if (w->hasDecoration()) { | 273 | if (w->hasDecoration()) { | ||
274 | return true; | 274 | return true; | ||
275 | } | 275 | } | ||
276 | 276 | | |||
277 | if (!w->isManaged()) { | 277 | // Don't animate combobox popups, tooltips, popup menus, etc. | ||
278 | if (w->isPopupWindow()) { | ||||
279 | return false; | ||||
280 | } | ||||
281 | | ||||
282 | // Override-redirect windows are usually used for user interface | ||||
283 | // concepts that are not expected to be animated by this effect. | ||||
284 | if (w->isX11Client() && !w->isManaged()) { | ||||
278 | return false; | 285 | return false; | ||
279 | } | 286 | } | ||
280 | 287 | | |||
281 | return w->isNormalWindow() | 288 | return w->isNormalWindow() | ||
282 | || w->isDialog(); | 289 | || w->isDialog(); | ||
283 | } | 290 | } | ||
284 | 291 | | |||
285 | } // namespace KWin | 292 | } // namespace KWin |