path: root/include/core/window.h
diff options
authorSam Spilsbury <>2011-02-01 17:26:11 +0800
committerSam Spilsbury <>2011-02-01 17:26:11 +0800
commit4ae95852e53075caed1558620127f0c1405fe474 (patch)
tree12396907cfded0311fa4afc7064d3afc9b7a9241 /include/core/window.h
parenteda4ce59d1010289f1cdd62e4ce03a3517dd61da (diff)
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 'include/core/window.h')
1 files changed, 2 insertions, 1 deletions
diff --git a/include/core/window.h b/include/core/window.h
index aa7fbde..a6e4b4a 100644
--- a/include/core/window.h
+++ b/include/core/window.h
@@ -343,7 +343,8 @@ class CompWindow :
const CompRegion & frameRegion () const;
void updateFrameRegion ();
- void setWindowFrameExtents (CompWindowExtents *input);
+ void setWindowFrameExtents (CompWindowExtents *border,
+ CompWindowExtents *frame = NULL);
unsigned int & wmType ();