summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-04-04 20:40:29 +0000
committerphintuka <phintuka>2008-04-04 20:40:29 +0000
commitffe930eabdb3b04e88ed47ea479f15925ae5d009 (patch)
treeea652c96739eec107c7fc7c32886ebf9806d268f
parentccf344237f37a0f1e3b5834918176e1c7cb17912 (diff)
downloadxineliboutput-ffe930eabdb3b04e88ed47ea479f15925ae5d009.tar.gz
xineliboutput-ffe930eabdb3b04e88ed47ea479f15925ae5d009.tar.bz2
Close all windows before refresh.
(Suggested by Rolf Ahrenberg)
-rw-r--r--osd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index 2dc9be88..39f792f8 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c,v 1.19 2008-04-04 20:36:47 phintuka Exp $
+ * $Id: osd.c,v 1.20 2008-04-04 20:40:29 phintuka Exp $
*
*/
@@ -365,6 +365,7 @@ void cXinelibOsd::Refresh(void)
cMutexLock ml(&m_Lock);
m_Refresh = true;
+ CloseWindows();
Flush();
m_Refresh = false;
}