summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-08-21 00:51:03 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2008-08-21 00:51:03 +0200
commitb0a83124e3668296b5db42ee5eff3ecf674d8d6a (patch)
treee7e7d686d3a4bb33f9a434c256ed742d493afca7 /src/main.cpp
parent3808dcc20b40c441f2c3b72bba151a6404d1f322 (diff)
downloadunity-window-decorator-b0a83124e3668296b5db42ee5eff3ecf674d8d6a.tar.gz
unity-window-decorator-b0a83124e3668296b5db42ee5eff3ecf674d8d6a.tar.bz2
Cleanup compiz[-core].h
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 88e8804..ab8c749 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -27,6 +27,8 @@
# include "../config.h"
#endif
+#include <compiz.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
@@ -37,6 +39,7 @@
#include <compiz-core.h>
#include "privatedisplay.h"
#include "privatescreen.h"
+#include "privatecore.h"
char *programName;
char **programArgv;
@@ -52,21 +55,21 @@ Window currentRoot = 0;
int defaultRefreshRate = 50;
char *defaultTextureFilter = "Good";
-Bool shutDown = FALSE;
-Bool restartSignal = FALSE;
+bool shutDown = false;
+bool restartSignal = false;
CompWindow *lastFoundWindow = 0;
CompWindow *lastDamagedWindow = 0;
-Bool replaceCurrentWm = FALSE;
-Bool indirectRendering = FALSE;
-Bool strictBinding = TRUE;
-Bool noDetection = FALSE;
-Bool useDesktopHints = TRUE;
-Bool onlyCurrentScreen = FALSE;
+bool replaceCurrentWm = false;
+bool indirectRendering = false;
+bool strictBinding = true;
+bool noDetection = false;
+bool useDesktopHints = true;
+bool onlyCurrentScreen = false;
#ifdef USE_COW
-Bool useCow = TRUE;
+bool useCow = true;
#endif
CompMetadata *coreMetadata = NULL;