summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-01-21 00:01:08 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-01-21 00:01:08 +0800
commitc5e731bfd78ece8714470519a3bbb470f2d09001 (patch)
treed450328e1731b953e23ec5c49e232af02e76ff12 /include
parente640ff49f597ae817d81c63ffe41052446af3f62 (diff)
downloadzcomp-c5e731bfd78ece8714470519a3bbb470f2d09001.tar.gz
zcomp-c5e731bfd78ece8714470519a3bbb470f2d09001.tar.bz2
Add some documentation on how geometry () and serverGeometry () work
Diffstat (limited to 'include')
-rw-r--r--include/core/window.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/core/window.h b/include/core/window.h
index ab4e5ac..786fe7f 100644
--- a/include/core/window.h
+++ b/include/core/window.h
@@ -266,6 +266,9 @@ class CompWindow :
Window aboveId);
~CompWindow ();
+ /* this is the geometry retrieved from the
+ * last ConfigureNotify event received
+ */
Geometry & geometry () const;
int x () const;
@@ -277,6 +280,9 @@ class CompWindow :
int height () const;
CompSize size () const;
+ /* this is the
+ * geometry last sent to the server
+ */
Geometry & serverGeometry () const;
int serverX () const;
@@ -387,6 +393,7 @@ class CompWindow :
void moveInputFocusToOtherWindow ();
+ /* wraps XConfigureWindow and updates serverGeometry */
void configureXWindow (unsigned int valueMask,
XWindowChanges *xwc);