summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-03-15 00:12:45 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-03-15 00:12:45 +0800
commitddaf0d1937be49ea613111eed03a806b9261ce65 (patch)
treec48e4d80a157a367b5c558c25d84353ae2158686 /include
parent25f360543041bdbf1321e7b36871d0ee854f7d4b (diff)
downloadmobileperf-ddaf0d1937be49ea613111eed03a806b9261ce65.tar.gz
mobileperf-ddaf0d1937be49ea613111eed03a806b9261ce65.tar.bz2
Reflect difference between actual input frame geometry and border extents
in the core API
Diffstat (limited to 'include')
-rw-r--r--include/core/window.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/core/window.h b/include/core/window.h
index a6e4b4a..30ffa79 100644
--- a/include/core/window.h
+++ b/include/core/window.h
@@ -325,7 +325,11 @@ class CompWindow :
int serverHeight () const;
const CompSize serverSize () const;
- /* includes decorations */
+ /* effective decoration extents */
+ CompRect borderRect () const;
+ CompRect serverBorderRect () const;
+
+ /* frame window geometry */
CompRect inputRect () const;
CompRect serverInputRect () const;
@@ -474,8 +478,8 @@ class CompWindow :
bool shaded ();
+ CompWindowExtents & border () const;
CompWindowExtents & input () const;
-
CompWindowExtents & output () const;
XSizeHints & sizeHints () const;