Changeset View
Changeset View
Standalone View
Standalone View
effects.cpp
Show First 20 Lines • Show All 332 Lines • ▼ Show 20 Line(s) | 332 | [this](Toplevel *c) { | |||
---|---|---|---|---|---|
333 | emit windowShown(c->effectWindow()); | 333 | emit windowShown(c->effectWindow()); | ||
334 | } | 334 | } | ||
335 | ); | 335 | ); | ||
336 | connect(c, &AbstractClient::windowHidden, this, | 336 | connect(c, &AbstractClient::windowHidden, this, | ||
337 | [this](Toplevel *c) { | 337 | [this](Toplevel *c) { | ||
338 | emit windowHidden(c->effectWindow()); | 338 | emit windowHidden(c->effectWindow()); | ||
339 | } | 339 | } | ||
340 | ); | 340 | ); | ||
341 | connect(c, &AbstractClient::keepAboveChanged, this, | ||||
342 | [this, c](bool above) { | ||||
343 | Q_UNUSED(above) | ||||
344 | emit windowKeepAboveChanged(c->effectWindow()); | ||||
345 | } | ||||
346 | ); | ||||
347 | connect(c, &AbstractClient::keepBelowChanged, this, | ||||
348 | [this, c](bool below) { | ||||
349 | Q_UNUSED(below) | ||||
350 | emit windowKeepBelowChanged(c->effectWindow()); | ||||
351 | } | ||||
352 | ); | ||||
353 | connect(c, &AbstractClient::fullScreenChanged, this, | ||||
354 | [this, c]() { | ||||
355 | emit windowFullScreenChanged(c->effectWindow()); | ||||
356 | } | ||||
357 | ); | ||||
341 | } | 358 | } | ||
342 | 359 | | |||
343 | void EffectsHandlerImpl::setupClientConnections(Client* c) | 360 | void EffectsHandlerImpl::setupClientConnections(Client* c) | ||
344 | { | 361 | { | ||
345 | setupAbstractClientConnections(c); | 362 | setupAbstractClientConnections(c); | ||
346 | connect(c, &Client::paddingChanged, this, &EffectsHandlerImpl::slotPaddingChanged); | 363 | connect(c, &Client::paddingChanged, this, &EffectsHandlerImpl::slotPaddingChanged); | ||
347 | } | 364 | } | ||
348 | 365 | | |||
▲ Show 20 Lines • Show All 1730 Lines • Show Last 20 Lines |