summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
authorEduardo Gurgel Pinho <eduardo@mad4.Chagas>2009-03-06 23:02:39 -0300
committerDennis Kasprzyk <onestone@compiz-fusion.org>2009-03-10 00:34:19 +0100
commit39c08a74883bcb639cab9c86ae2ba0c63433c036 (patch)
treec286b7acfca8750d1c31ac72f219a3443e900ddd /src/screen.cpp
parent5041f18da51155345debabcbe8232591eb2220c8 (diff)
downloadunity-window-decorator-39c08a74883bcb639cab9c86ae2ba0c63433c036.tar.gz
unity-window-decorator-39c08a74883bcb639cab9c86ae2ba0c63433c036.tar.bz2
Applying CompRect changes
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index e29fdaf..f2913ff 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -2002,7 +2002,7 @@ PrivateScreen::updateOutputDevices ()
if (outputDevs.size () < nOutput + 1)
outputDevs.resize (nOutput + 1);
- outputDevs[nOutput].setGeometry (x1, x2, y1, y2);
+ outputDevs[nOutput].setGeometry (x1, y1, x2 - x1, y2 - y1);
nOutput++;
}
}
@@ -2013,7 +2013,7 @@ PrivateScreen::updateOutputDevices ()
if (outputDevs.size () < 1)
outputDevs.resize (1);
- outputDevs[0].setGeometry (0, screen->width (), 0, screen->height ());
+ outputDevs[0].setGeometry (0, 0, screen->width (), screen->height ());
nOutput = 1;
}
@@ -2247,7 +2247,7 @@ PrivateScreen::reshape (int w, int h)
screen->setHeight (h);
fullscreenOutput.setId ("fullscreen", ~0);
- fullscreenOutput.setGeometry (0, w, 0, h);
+ fullscreenOutput.setGeometry (0, 0, w, h);
updateScreenEdges ();
}