Changeset View
Changeset View
Standalone View
Standalone View
effects/wobblywindows/wobblywindows.cpp
1 | /***************************************************************** | 1 | /***************************************************************** | ||
---|---|---|---|---|---|
2 | KWin - the KDE window manager | 2 | KWin - the KDE window manager | ||
3 | This file is part of the KDE project. | 3 | This file is part of the KDE project. | ||
4 | 4 | | |||
5 | Copyright (C) 2008 Cédric Borgese <cedric.borgese@gmail.com> | 5 | Copyright (C) 2008 Cédric Borgese <cedric.borgese@gmail.com> | ||
6 | 6 | | |||
7 | You can Freely distribute this program under the GNU General Public | 7 | You can Freely distribute this program under the GNU General Public | ||
8 | License. See the file "COPYING" for the exact licensing terms. | 8 | License. See the file "COPYING" for the exact licensing terms. | ||
9 | ******************************************************************/ | 9 | ******************************************************************/ | ||
10 | 10 | | |||
11 | 11 | | |||
12 | #include "wobblywindows.h" | 12 | #include "wobblywindows.h" | ||
13 | #include "wobblywindowsconfig.h" | 13 | #include "wobblywindowsconfig.h" | ||
14 | 14 | | |||
15 | #include <math.h> | 15 | #include <cmath> | ||
16 | 16 | | |||
17 | //#define COMPUTE_STATS | 17 | //#define COMPUTE_STATS | ||
18 | 18 | | |||
19 | // if you enable it and run kwin in a terminal from the session it manages, | 19 | // if you enable it and run kwin in a terminal from the session it manages, | ||
20 | // be sure to redirect the output of kwin in a file or | 20 | // be sure to redirect the output of kwin in a file or | ||
21 | // you'll propably get deadlocks. | 21 | // you'll propably get deadlocks. | ||
22 | //#define VERBOSE_MODE | 22 | //#define VERBOSE_MODE | ||
23 | 23 | | |||
▲ Show 20 Lines • Show All 1204 Lines • Show Last 20 Lines |