path: root/include/core
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
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')
2 files changed, 3 insertions, 2 deletions
diff --git a/include/core/core.h b/include/core/core.h
index 0e677d1..5da8dd4 100644
--- a/include/core/core.h
+++ b/include/core/core.h
@@ -26,7 +26,7 @@
#ifndef _COMPIZ_CORE_H
#define _COMPIZ_CORE_H
-#define CORE_ABIVERSION 20110126
+#define CORE_ABIVERSION 20110131
#include <stdio.h>
#include <assert.h>
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 ();