summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-09-25 15:52:04 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2008-09-25 15:52:04 +0200
commit29eb2da61148b9c448541cd856c49d78a40d0242 (patch)
treee6721fa2ecaf99347c4d011cb73495d8b7940611 /src/main.cpp
parentea9a1308151656f2b967f53c9ddf774dc133f1c9 (diff)
downloadunity-window-decorator-29eb2da61148b9c448541cd856c49d78a40d0242.tar.gz
unity-window-decorator-29eb2da61148b9c448541cd856c49d78a40d0242.tar.bz2
Use CompRegion in core.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8c01333..44d8711 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -45,9 +45,6 @@ int programArgc;
char *backgroundImage = NULL;
-REGION emptyRegion;
-REGION infiniteRegion;
-
bool shutDown = false;
bool restartSignal = false;
@@ -168,21 +165,6 @@ main (int argc, char **argv)
signal (SIGINT, signalHandler);
signal (SIGTERM, signalHandler);
- emptyRegion.rects = &emptyRegion.extents;
- emptyRegion.numRects = 0;
- emptyRegion.extents.x1 = 0;
- emptyRegion.extents.y1 = 0;
- emptyRegion.extents.x2 = 0;
- emptyRegion.extents.y2 = 0;
- emptyRegion.size = 0;
-
- infiniteRegion.rects = &infiniteRegion.extents;
- infiniteRegion.numRects = 1;
- infiniteRegion.extents.x1 = MINSHORT;
- infiniteRegion.extents.y1 = MINSHORT;
- infiniteRegion.extents.x2 = MAXSHORT;
- infiniteRegion.extents.y2 = MAXSHORT;
-
memset (&ctx, 0, sizeof (ctx));
for (i = 1; i < argc; i++)