summaryrefslogtreecommitdiff
path: root/src/privatewindow.h
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-02-01 17:26:11 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-02-01 17:26:11 +0800
commit4ae95852e53075caed1558620127f0c1405fe474 (patch)
tree12396907cfded0311fa4afc7064d3afc9b7a9241 /src/privatewindow.h
parenteda4ce59d1010289f1cdd62e4ce03a3517dd61da (diff)
downloadmobileperf-4ae95852e53075caed1558620127f0c1405fe474.tar.gz
mobileperf-4ae95852e53075caed1558620127f0c1405fe474.tar.bz2
Allow semantic difference between frame window geometry and frame size.
Rationale: some window decorators or themes might want to specify a border input area that is slightly larger than the visible borders on screen (eg for enhanced resize handles, a11y purposes, etc) or the theme might want to specify some additional decoration which should affect placement but should not be interacted with. In this case we have a priv->border and priv->input window property. priv->border specifies the actual semantic size of the window decoration that should affect placement and priv->input specifies the extents of the frame window past the client. Fixes LP: #710271
Diffstat (limited to 'src/privatewindow.h')
-rw-r--r--src/privatewindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/privatewindow.h b/src/privatewindow.h
index 4cecac2..4bed1bc 100644
--- a/src/privatewindow.h
+++ b/src/privatewindow.h
@@ -277,6 +277,7 @@ class PrivateWindow {
bool alive;
CompWindowExtents input;
+ CompWindowExtents border;
CompWindowExtents output;
CompStruts *struts;