Changeset View
Changeset View
Standalone View
Standalone View
effects/slide/slide.cpp
Show All 14 Lines | |||||
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | GNU General Public License for more details. | 17 | GNU General Public License for more details. | ||
18 | 18 | | |||
19 | You should have received a copy of the GNU General Public License | 19 | You should have received a copy of the GNU General Public License | ||
20 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 20 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
21 | *********************************************************************/ | 21 | *********************************************************************/ | ||
22 | 22 | | |||
23 | // KWayland | 23 | // own | ||
24 | #include <KWayland/Server/surface_interface.h> | | |||
25 | #include <KWayland/Server/blur_interface.h> | | |||
26 | #include <KWayland/Server/contrast_interface.h> | | |||
27 | | ||||
28 | #include "slide.h" | 24 | #include "slide.h" | ||
25 | | ||||
29 | // KConfigSkeleton | 26 | // KConfigSkeleton | ||
30 | #include "slideconfig.h" | 27 | #include "slideconfig.h" | ||
31 | 28 | | |||
29 | // KWayland | ||||
30 | #include <KWayland/Server/blur_interface.h> | ||||
31 | #include <KWayland/Server/contrast_interface.h> | ||||
32 | #include <KWayland/Server/surface_interface.h> | ||||
33 | | ||||
32 | namespace KWin | 34 | namespace KWin | ||
33 | { | 35 | { | ||
34 | 36 | | |||
35 | SlideEffect::SlideEffect() | 37 | SlideEffect::SlideEffect() | ||
36 | { | 38 | { | ||
37 | initConfig<SlideConfig>(); | 39 | initConfig<SlideConfig>(); | ||
38 | reconfigure(ReconfigureAll); | 40 | reconfigure(ReconfigureAll); | ||
39 | 41 | | |||
▲ Show 20 Lines • Show All 495 Lines • ▼ Show 20 Line(s) | |||||
535 | void SlideEffect::numberScreensChanged() | 537 | void SlideEffect::numberScreensChanged() | ||
536 | { | 538 | { | ||
537 | if (! m_active) { | 539 | if (! m_active) { | ||
538 | return; | 540 | return; | ||
539 | } | 541 | } | ||
540 | stop(); | 542 | stop(); | ||
541 | } | 543 | } | ||
542 | 544 | | |||
543 | } // namespace | 545 | } // namespace KWin |