summaryrefslogtreecommitdiff
path: root/src/privatescreen.h
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-03-11 07:32:33 +0100
committerDanny Baumann <dannybaumann@web.de>2009-03-11 07:32:33 +0100
commitf12bc00800ab34441051df2492c620f70edb6bda (patch)
tree80a7fdd82d1363f38390b71fa203e602191fd4a3 /src/privatescreen.h
parenta4a78a11404ef2de948c8028a1ec47df42fd3c9b (diff)
downloadunity-window-decorator-f12bc00800ab34441051df2492c620f70edb6bda.tar.gz
unity-window-decorator-f12bc00800ab34441051df2492c620f70edb6bda.tar.bz2
Derive CompWindow::Geometry from CompRect and improve CompRect usage.
Diffstat (limited to 'src/privatescreen.h')
-rw-r--r--src/privatescreen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/privatescreen.h b/src/privatescreen.h
index 8dd1334..4bbc8d9 100644
--- a/src/privatescreen.h
+++ b/src/privatescreen.h
@@ -283,7 +283,7 @@ class PrivateScreen {
void removePassiveButtonGrab (CompAction::ButtonBinding &button);
- void computeWorkareaForBox (BoxPtr pBox, XRectangle *area);
+ CompRect computeWorkareaForBox (const CompRect &box);
void updateScreenInfo ();
@@ -479,7 +479,7 @@ class PrivateScreen {
unsigned int pendingDestroys;
- XRectangle workArea;
+ CompRect workArea;
unsigned int showingDesktopMask;