summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-04-21 09:55:48 +0200
committerDanny Baumann <dannybaumann@web.de>2008-04-21 09:55:48 +0200
commit82850f5e693fa6644b99269a125b71ccc073042f (patch)
tree4ae6b00437c98bf02ce77a3ca384ef528c6519d2
parent373e57578527be525d1703679355d977ebc1006a (diff)
downloadworkspacenames-82850f5e693fa6644b99269a125b71ccc073042f.tar.gz
workspacenames-82850f5e693fa6644b99269a125b71ccc073042f.tar.bz2
Cancel fading on VP change.
-rw-r--r--workspacenames.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/workspacenames.c b/workspacenames.c
index 195b3fc..fc23504 100644
--- a/workspacenames.c
+++ b/workspacenames.c
@@ -389,9 +389,11 @@ wsnamesHandleEvent (CompDisplay *d,
WSNAMES_SCREEN (s);
- wsnamesRenderNameText (s);
+ ws->timer = 0;
if (ws->timeoutHandle)
compRemoveTimeout (ws->timeoutHandle);
+
+ wsnamesRenderNameText (s);
timeout = workspacenamesGetDisplayTime (s) * 1000;
ws->timeoutHandle = compAddTimeout (timeout,
wsnamesHideTimeout, s);