Changeset View
Changeset View
Standalone View
Standalone View
effects/glide/glide.cpp
Show All 30 Lines | |||||
31 | namespace KWin | 31 | namespace KWin | ||
32 | { | 32 | { | ||
33 | 33 | | |||
34 | static const int IsGlideWindow = 0x22A982D4; | 34 | static const int IsGlideWindow = 0x22A982D4; | ||
35 | 35 | | |||
36 | GlideEffect::GlideEffect() | 36 | GlideEffect::GlideEffect() | ||
37 | : Effect() | 37 | : Effect() | ||
38 | { | 38 | { | ||
39 | initConfig<GlideConfig>(); | ||||
39 | reconfigure(ReconfigureAll); | 40 | reconfigure(ReconfigureAll); | ||
40 | connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), this, SLOT(slotWindowAdded(KWin::EffectWindow*))); | 41 | connect(effects, SIGNAL(windowAdded(KWin::EffectWindow*)), this, SLOT(slotWindowAdded(KWin::EffectWindow*))); | ||
41 | connect(effects, SIGNAL(windowClosed(KWin::EffectWindow*)), this, SLOT(slotWindowClosed(KWin::EffectWindow*))); | 42 | connect(effects, SIGNAL(windowClosed(KWin::EffectWindow*)), this, SLOT(slotWindowClosed(KWin::EffectWindow*))); | ||
42 | connect(effects, SIGNAL(windowDeleted(KWin::EffectWindow*)), this, SLOT(slotWindowDeleted(KWin::EffectWindow*))); | 43 | connect(effects, SIGNAL(windowDeleted(KWin::EffectWindow*)), this, SLOT(slotWindowDeleted(KWin::EffectWindow*))); | ||
43 | 44 | | |||
44 | 45 | | |||
45 | connect(effects, &EffectsHandler::windowDataChanged, this, &GlideEffect::cancelWindowGrab); | 46 | connect(effects, &EffectsHandler::windowDataChanged, this, &GlideEffect::cancelWindowGrab); | ||
46 | } | 47 | } | ||
▲ Show 20 Lines • Show All 205 Lines • Show Last 20 Lines |