Changeset View
Changeset View
Standalone View
Standalone View
tabbox/tabbox.cpp
Show First 20 Lines • Show All 349 Lines • ▼ Show 20 Line(s) | |||||
350 | { | 350 | { | ||
351 | if (!effects) { | 351 | if (!effects) { | ||
352 | return; | 352 | return; | ||
353 | } | 353 | } | ||
354 | QVector<EffectWindow*> windows; | 354 | QVector<EffectWindow*> windows; | ||
355 | if (window) { | 355 | if (window) { | ||
356 | windows << static_cast<TabBoxClientImpl*>(window)->client()->effectWindow(); | 356 | windows << static_cast<TabBoxClientImpl*>(window)->client()->effectWindow(); | ||
357 | } | 357 | } | ||
358 | if (auto t = Workspace::self()->findToplevel(controller)) { | 358 | if (Toplevel *t = workspace()->findInternal(controller)) { | ||
359 | windows << t->effectWindow(); | 359 | windows << t->effectWindow(); | ||
360 | } | 360 | } | ||
361 | static_cast<EffectsHandlerImpl*>(effects)->highlightWindows(windows); | 361 | static_cast<EffectsHandlerImpl*>(effects)->highlightWindows(windows); | ||
362 | } | 362 | } | ||
363 | 363 | | |||
364 | bool TabBoxHandlerImpl::noModifierGrab() const | 364 | bool TabBoxHandlerImpl::noModifierGrab() const | ||
365 | { | 365 | { | ||
366 | return m_tabBox->noModifierGrab(); | 366 | return m_tabBox->noModifierGrab(); | ||
▲ Show 20 Lines • Show All 1178 Lines • Show Last 20 Lines |