diff options
author | Sam Spilsbury <sam.spilsbury@canonical.com> | 2011-02-01 17:26:11 +0800 |
---|---|---|
committer | Sam Spilsbury <sam.spilsbury@canonical.com> | 2011-02-01 17:26:11 +0800 |
commit | 4ae95852e53075caed1558620127f0c1405fe474 (patch) | |
tree | 12396907cfded0311fa4afc7064d3afc9b7a9241 /include/core/window.h | |
parent | eda4ce59d1010289f1cdd62e4ce03a3517dd61da (diff) | |
download | mobileperf-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 'include/core/window.h')
-rw-r--r-- | include/core/window.h | 3 |
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 (); |