Changeset View
Changeset View
Standalone View
Standalone View
effects/presentwindows/presentwindows.cpp
Show All 25 Lines | |||||
26 | #include <KGlobalAccel> | 26 | #include <KGlobalAccel> | ||
27 | #include <KLocalizedString> | 27 | #include <KLocalizedString> | ||
28 | 28 | | |||
29 | #include <kwinglutils.h> | 29 | #include <kwinglutils.h> | ||
30 | 30 | | |||
31 | #include <QMouseEvent> | 31 | #include <QMouseEvent> | ||
32 | #include <netwm_def.h> | 32 | #include <netwm_def.h> | ||
33 | 33 | | |||
34 | #include <math.h> | | |||
35 | #include <assert.h> | | |||
36 | #include <limits.h> | | |||
37 | #include <QApplication> | 34 | #include <QApplication> | ||
38 | #include <QQmlContext> | 35 | #include <QQmlContext> | ||
39 | #include <QQmlEngine> | 36 | #include <QQmlEngine> | ||
40 | #include <QQuickItem> | 37 | #include <QQuickItem> | ||
41 | #include <QQuickView> | 38 | #include <QQuickView> | ||
42 | #include <QGraphicsObject> | 39 | #include <QGraphicsObject> | ||
43 | #include <QTimer> | 40 | #include <QTimer> | ||
44 | #include <QElapsedTimer> | 41 | #include <QElapsedTimer> | ||
45 | #include <QVector2D> | 42 | #include <QVector2D> | ||
46 | #include <QVector4D> | 43 | #include <QVector4D> | ||
47 | 44 | | |||
45 | #include <cassert> | ||||
46 | #include <climits> | ||||
47 | #include <cmath> | ||||
48 | | ||||
48 | namespace KWin | 49 | namespace KWin | ||
49 | { | 50 | { | ||
50 | 51 | | |||
51 | PresentWindowsEffect::PresentWindowsEffect() | 52 | PresentWindowsEffect::PresentWindowsEffect() | ||
52 | : m_proxy(this) | 53 | : m_proxy(this) | ||
53 | , m_activated(false) | 54 | , m_activated(false) | ||
54 | , m_ignoreMinimized(false) | 55 | , m_ignoreMinimized(false) | ||
55 | , m_decalOpacity(0.0) | 56 | , m_decalOpacity(0.0) | ||
▲ Show 20 Lines • Show All 2020 Lines • Show Last 20 Lines |