Changeset View
Changeset View
Standalone View
Standalone View
effects/glide/glide.cpp
Show First 20 Lines • Show All 313 Lines • ▼ Show 20 Line(s) | 313 | if (w->hasDecoration()) { | |||
---|---|---|---|---|---|
314 | return true; | 314 | return true; | ||
315 | } | 315 | } | ||
316 | 316 | | |||
317 | // Don't animate combobox popups, tooltips, popup menus, etc. | 317 | // Don't animate combobox popups, tooltips, popup menus, etc. | ||
318 | if (w->isPopupWindow()) { | 318 | if (w->isPopupWindow()) { | ||
319 | return false; | 319 | return false; | ||
320 | } | 320 | } | ||
321 | 321 | | |||
322 | // Dont't animate outline because it looks very sick. | ||||
323 | if (w->isOutline()) { | ||||
324 | return false; | ||||
325 | } | ||||
326 | | ||||
322 | // Override-redirect windows are usually used for user interface | 327 | // Override-redirect windows are usually used for user interface | ||
323 | // concepts that are not expected to be animated by this effect. | 328 | // concepts that are not expected to be animated by this effect. | ||
324 | if (w->isX11Client() && !w->isManaged()) { | 329 | if (w->isX11Client() && !w->isManaged()) { | ||
325 | return false; | 330 | return false; | ||
326 | } | 331 | } | ||
327 | 332 | | |||
328 | return w->isNormalWindow() | 333 | return w->isNormalWindow() | ||
329 | || w->isDialog(); | 334 | || w->isDialog(); | ||
330 | } | 335 | } | ||
331 | 336 | | |||
332 | } // namespace KWin | 337 | } // namespace KWin |