summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/group
diff options
context:
space:
mode:
authorroico <roico@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-14 19:42:33 +0000
committerroico <roico@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-14 19:42:33 +0000
commit41e3702855017c65df46474afc189b173f6b1923 (patch)
tree375994a3cf5601d34bde132555444a6093e6a9ae /beryl-plugins/src/group
parent3dc47bfcd310f2559d858ac470f9f8c8c90a8876 (diff)
downloadmarex-dev-41e3702855017c65df46474afc189b173f6b1923.tar.gz
marex-dev-41e3702855017c65df46474afc189b173f6b1923.tar.bz2
added descriptions for 2 more functions
git-svn-id: file:///beryl/trunk@4069 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/group')
-rw-r--r--beryl-plugins/src/group/tab.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/beryl-plugins/src/group/tab.c b/beryl-plugins/src/group/tab.c
index c45a768..219c637 100644
--- a/beryl-plugins/src/group/tab.c
+++ b/beryl-plugins/src/group/tab.c
@@ -206,6 +206,7 @@ groupCheckForVisibleTabBars(CompScreen *s)
* and the current state of the tab bar is PaintPermanentOn it won't do anything
* because its not strong enough to disable a Permanent-State, for those you need
* the mask.
+ *
*/
void groupTabSetVisibility(GroupSelection *group, Bool visible, unsigned int mask)
{
@@ -890,6 +891,13 @@ adjustTabVelocity(CompWindow * w)
/*
* groupDrawTabAnimation
*
+ * Description:
+ * This function is called from groupPreparePaintScreen, to move
+ * all the animated windows, with the required animation step.
+ * The function goes through all grouped animated windows, calculates
+ * the required step using adjustTabVelocity, moves the window,
+ * and then checks if the animation is finished for that window.
+ *
*/
void groupDrawTabAnimation(CompScreen * s, int msSinceLastPaint)
{
@@ -955,6 +963,13 @@ void groupDrawTabAnimation(CompScreen * s, int msSinceLastPaint)
/*
* groupUpdateTabBars
*
+ * Description:
+ * This function is responisble for showing / unshowing the tab-bars,
+ * when the title-bars / tab-bars are hovered.
+ * The function goes through all tabbed groups, checks if the mouse
+ * hoveres the title-bar / tab-bar of the top-tab, but doesn't hover
+ * the clipping region, and sets tab-bar visibility according to that.
+ *
*/
Bool groupUpdateTabBars(void *display)
{