summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2011-10-27 07:23:24 +0000
committerphintuka <phintuka>2011-10-27 07:23:24 +0000
commitf16d83b739d99277ae5978fa0d01e233bf42f7d4 (patch)
treebaa934e5aedde7c2c2182c6200a6d9d1cbb3a90b
parentfdb5128bac663af2a1610d7f1bff6acbdf083a2e (diff)
downloadxineliboutput-f16d83b739d99277ae5978fa0d01e233bf42f7d4.tar.gz
xineliboutput-f16d83b739d99277ae5978fa0d01e233bf42f7d4.tar.bz2
Fixed xshape HUD OSD
-rw-r--r--xine_sxfe_frontend.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index d112de43..8358edb7 100644
--- a/xine_sxfe_frontend.c
+++ b/xine_sxfe_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_sxfe_frontend.c,v 1.168 2011-10-25 18:45:12 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.169 2011-10-27 07:23:24 phintuka Exp $
*
*/
@@ -832,11 +832,7 @@ static void hud_osd_draw(sxfe_t *this, const struct osd_command_s *cmd)
LOGDBG("hud_osd_command(OSD_Set_RLE): Updating shape of window");
XRenderComposite(this->display, PictOpSrc, this->surf_back_img->pic, None, this->shape_mask_picture,
x, y, 0, 0, x, y, w, h);
-
- // WHY MASK CHANGE HAS NO EFFECT UNLESS WINDOW IS UNMAPPED FIRST ... ???
- XUnmapWindow(this->display, this->hud_window);
XShapeCombineMask(this->display, this->hud_window, ShapeBounding, 0, 0, this->shape_mask_pixmap, ShapeSet);
- XMapWindow(this->display, this->hud_window);
}
}
#endif