summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_sxfe_frontend.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index d0d3b01b..91a3f6a6 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.81 2008-07-28 18:46:21 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.82 2008-09-19 12:17:00 phintuka Exp $
*
*/
@@ -1008,6 +1008,16 @@ static void create_windows(sxfe_t *this)
/* full-screen window */
set_fullscreen_props(this);
+ /* Window hint */
+ XClassHint *classHint = XAllocClassHint();
+ if(classHint) {
+ classHint->res_name = "VDR";
+ classHint->res_class = "VDR";
+ XSetClassHint(this->display, this->window[0], classHint);
+ XSetClassHint(this->display, this->window[1], classHint);
+ XFree(classHint);
+ }
+
/* Window name */
#ifdef FE_STANDALONE
XStoreName(this->display, this->window[0], "VDR - ");