Changeset View
Changeset View
Standalone View
Standalone View
effects/fallapart/fallapart.cpp
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | 136 | { | |||
---|---|---|---|---|---|
141 | qCDebug(KWINEFFECTS) << "Toolbar:" << w->isToolbar(); | 141 | qCDebug(KWINEFFECTS) << "Toolbar:" << w->isToolbar(); | ||
142 | qCDebug(KWINEFFECTS) << "Desktop:" << w->isDesktop(); | 142 | qCDebug(KWINEFFECTS) << "Desktop:" << w->isDesktop(); | ||
143 | qCDebug(KWINEFFECTS) << "Special:" << w->isSpecialWindow(); | 143 | qCDebug(KWINEFFECTS) << "Special:" << w->isSpecialWindow(); | ||
144 | qCDebug(KWINEFFECTS) << "TopMenu:" << w->isTopMenu(); | 144 | qCDebug(KWINEFFECTS) << "TopMenu:" << w->isTopMenu(); | ||
145 | qCDebug(KWINEFFECTS) << "Notific:" << w->isNotification(); | 145 | qCDebug(KWINEFFECTS) << "Notific:" << w->isNotification(); | ||
146 | qCDebug(KWINEFFECTS) << "Splash:" << w->isSplash(); | 146 | qCDebug(KWINEFFECTS) << "Splash:" << w->isSplash(); | ||
147 | qCDebug(KWINEFFECTS) << "Normal:" << w->isNormalWindow(); | 147 | qCDebug(KWINEFFECTS) << "Normal:" << w->isNormalWindow(); | ||
148 | */ | 148 | */ | ||
149 | if (w->isPopupWindow()) { | ||||
150 | return false; | ||||
151 | } | ||||
152 | if (w->isX11Client() && !w->isManaged()) { | ||||
153 | return false; | ||||
154 | } | ||||
149 | if (!w->isNormalWindow()) | 155 | if (!w->isNormalWindow()) | ||
150 | return false; | 156 | return false; | ||
151 | return true; | 157 | return true; | ||
152 | } | 158 | } | ||
153 | 159 | | |||
154 | void FallApartEffect::slotWindowClosed(EffectWindow* c) | 160 | void FallApartEffect::slotWindowClosed(EffectWindow* c) | ||
155 | { | 161 | { | ||
156 | if (!isRealWindow(c)) | 162 | if (!isRealWindow(c)) | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |