summaryrefslogtreecommitdiff
path: root/src/video_out/x11osd.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-26 18:36:34 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-26 18:36:34 +0000
commitfe1481d199f8f35734cff5eac8d8edf6a50aff52 (patch)
treef5ccca72ca320a755cd2b329ca78ae9c1af118df /src/video_out/x11osd.c
parentc69ab1501cefec445ba2ea4fad42b398fdc43072 (diff)
downloadxine-lib-fe1481d199f8f35734cff5eac8d8edf6a50aff52.tar.gz
xine-lib-fe1481d199f8f35734cff5eac8d8edf6a50aff52.tar.bz2
fix x11osd bugs with fullscreen changing
CVS patchset: 5789 CVS date: 2003/11/26 18:36:34
Diffstat (limited to 'src/video_out/x11osd.c')
-rw-r--r--src/video_out/x11osd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_out/x11osd.c b/src/video_out/x11osd.c
index 9caa08ff9..b268024b2 100644
--- a/src/video_out/x11osd.c
+++ b/src/video_out/x11osd.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: x11osd.c,v 1.2 2003/11/26 10:02:52 miguelfreitas Exp $
+ * $Id: x11osd.c,v 1.3 2003/11/26 18:36:34 miguelfreitas Exp $
*
* x11osd.c, use X11 Nonrectangular Window Shape Extension to draw xine OSD
*
@@ -158,6 +158,11 @@ x11osd_drawable_changed (x11osd * osd, Window window)
osd->visual, AllocNone);
XSelectInput (osd->display, osd->window, ExposureMask);
+
+ osd->clean = 0;
+ x11osd_clear(osd);
+ osd->mapped = 0;
+ x11osd_expose(osd);
}
static int x11_error = False ;