Changeset View
Changeset View
Standalone View
Standalone View
effects.cpp
Show First 20 Lines • Show All 1184 Lines • ▼ Show 20 Line(s) | 1184 | #ifdef KWIN_BUILD_TABBOX | |||
---|---|---|---|---|---|
1185 | TabBox::TabBox::self()->close(); | 1185 | TabBox::TabBox::self()->close(); | ||
1186 | #endif | 1186 | #endif | ||
1187 | } | 1187 | } | ||
1188 | 1188 | | |||
1189 | QList< int > EffectsHandlerImpl::currentTabBoxDesktopList() const | 1189 | QList< int > EffectsHandlerImpl::currentTabBoxDesktopList() const | ||
1190 | { | 1190 | { | ||
1191 | #ifdef KWIN_BUILD_TABBOX | 1191 | #ifdef KWIN_BUILD_TABBOX | ||
1192 | return TabBox::TabBox::self()->currentDesktopList(); | 1192 | return TabBox::TabBox::self()->currentDesktopList(); | ||
1193 | #endif | 1193 | #else | ||
1194 | return QList< int >(); | 1194 | return QList< int >(); | ||
1195 | #endif | ||||
1195 | } | 1196 | } | ||
1196 | 1197 | | |||
1197 | int EffectsHandlerImpl::currentTabBoxDesktop() const | 1198 | int EffectsHandlerImpl::currentTabBoxDesktop() const | ||
1198 | { | 1199 | { | ||
1199 | #ifdef KWIN_BUILD_TABBOX | 1200 | #ifdef KWIN_BUILD_TABBOX | ||
1200 | return TabBox::TabBox::self()->currentDesktop(); | 1201 | return TabBox::TabBox::self()->currentDesktop(); | ||
1201 | #endif | 1202 | #else | ||
1202 | return -1; | 1203 | return -1; | ||
1204 | #endif | ||||
1203 | } | 1205 | } | ||
1204 | 1206 | | |||
1205 | EffectWindow* EffectsHandlerImpl::currentTabBoxWindow() const | 1207 | EffectWindow* EffectsHandlerImpl::currentTabBoxWindow() const | ||
1206 | { | 1208 | { | ||
1207 | #ifdef KWIN_BUILD_TABBOX | 1209 | #ifdef KWIN_BUILD_TABBOX | ||
1208 | if (auto c = TabBox::TabBox::self()->currentClient()) | 1210 | if (auto c = TabBox::TabBox::self()->currentClient()) | ||
1209 | return c->effectWindow(); | 1211 | return c->effectWindow(); | ||
1210 | #endif | 1212 | #endif | ||
▲ Show 20 Lines • Show All 1172 Lines • Show Last 20 Lines |