summaryrefslogtreecommitdiff
path: root/workspacenames.c
diff options
context:
space:
mode:
Diffstat (limited to 'workspacenames.c')
-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);