summaryrefslogtreecommitdiff
path: root/src/privatewindow.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-06 20:46:09 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-08-06 20:46:09 +0200
commitafca86acd5d13930330dfca15a3c5b0d592128b0 (patch)
treed8e97405958aeefd58e0ecb153c4f2fd32d4b58e /src/privatewindow.h
parent8b1b0d2dcc7f6984869bc11124c328357f5b838f (diff)
downloadunity-window-decorator-afca86acd5d13930330dfca15a3c5b0d592128b0.tar.gz
unity-window-decorator-afca86acd5d13930330dfca15a3c5b0d592128b0.tar.bz2
Use CompPoint/CompSize in CompScreen.
Diffstat (limited to 'src/privatewindow.h')
-rw-r--r--src/privatewindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/privatewindow.h b/src/privatewindow.h
index b5a1003..2ae25a5 100644
--- a/src/privatewindow.h
+++ b/src/privatewindow.h
@@ -9,8 +9,8 @@
(!(w)->damaged) || \
(w)->attrib.x + (w)->width + (w)->output.right <= 0 || \
(w)->attrib.y + (w)->height + (w)->output.bottom <= 0 || \
- (w)->attrib.x - (w)->output.left >= (w)->screen->width () || \
- (w)->attrib.y - (w)->output.top >= (w)->screen->height () )
+ (w)->attrib.x - (w)->output.left >= (w)->screen->size().width () || \
+ (w)->attrib.y - (w)->output.top >= (w)->screen->size().height () )
class PrivateWindow {