Changeset View
Changeset View
Standalone View
Standalone View
effects/glide/glide.cpp
Show First 20 Lines • Show All 307 Lines • ▼ Show 20 Line(s) | 297 | { | |||
---|---|---|---|---|---|
308 | if (s_blacklist.contains(w->windowClass())) { | 308 | if (s_blacklist.contains(w->windowClass())) { | ||
309 | return false; | 309 | return false; | ||
310 | } | 310 | } | ||
311 | 311 | | |||
312 | if (w->hasDecoration()) { | 312 | if (w->hasDecoration()) { | ||
313 | return true; | 313 | return true; | ||
314 | } | 314 | } | ||
315 | 315 | | |||
316 | if (!w->isManaged()) { | 316 | // Don't animate combobox popups, tooltips, popup menus, etc. | ||
317 | if (w->isPopupWindow()) { | ||||
318 | return false; | ||||
319 | } | ||||
320 | | ||||
321 | // Override-redirect windows are usually used for user interface | ||||
322 | // concepts that are not expected to be animated by this effect. | ||||
323 | if (w->isX11Client() && !w->isManaged()) { | ||||
317 | return false; | 324 | return false; | ||
318 | } | 325 | } | ||
319 | 326 | | |||
320 | return w->isNormalWindow() | 327 | return w->isNormalWindow() | ||
321 | || w->isDialog(); | 328 | || w->isDialog(); | ||
322 | } | 329 | } | ||
323 | 330 | | |||
324 | } // namespace KWin | 331 | } // namespace KWin |