]> git.sesse.net Git - vlc/commitdiff
* modules/gui/skins/x11/x11_window.cpp: small bugfix for icons support.
authorGildas Bazin <gbazin@videolan.org>
Sat, 14 Jun 2003 18:49:02 +0000 (18:49 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sat, 14 Jun 2003 18:49:02 +0000 (18:49 +0000)
modules/gui/skins/src/skin_main.cpp
modules/gui/skins/x11/x11_window.cpp

index edcded622852df6ed7a52ba289bea95924ad28b3..754c4d66f2898a452ee0689da182a21168ef2c13 100644 (file)
@@ -2,7 +2,7 @@
  * skin-main.cpp: skins plugin for VLC
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: skin_main.cpp,v 1.39 2003/06/13 21:18:53 asmax Exp $
+ * $Id: skin_main.cpp,v 1.40 2003/06/14 18:49:02 gbazin Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -167,7 +167,7 @@ static int Open ( vlc_object_t *p_this )
         imlib_render_pixmaps_for_whole_image( &p_intf->p_sys->iconPixmap,
                                               &p_intf->p_sys->iconMask );
         imlib_free_image();
-    }                                     
+    }
 
 
 #elif defined WIN32
index 8a36e435a9b9a0406692b51af7c2f04935a96636..5633bbe096667b462d88eefdd04046ec37b86a04 100644 (file)
@@ -2,7 +2,7 @@
  * x11_window.cpp: X11 implementation of the Window class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: x11_window.cpp,v 1.22 2003/06/13 21:18:54 asmax Exp $
+ * $Id: x11_window.cpp,v 1.23 2003/06/14 18:49:02 gbazin Exp $
  *
  * Authors: Cyril Deguet     <asmax@videolan.org>
  *
@@ -102,12 +102,12 @@ X11Window::X11Window( intf_thread_t *p_intf, Window wnd, int x, int y,
     {
         hints = XAllocWMHints();
     }
-    if( hints->icon_pixmap != None )
+    if( p_intf->p_sys->iconPixmap != None )
     {
         hints->icon_pixmap = p_intf->p_sys->iconPixmap;
         hints->flags |= IconPixmapHint;
     }
-    if( hints->icon_mask != None )
+    if( p_intf->p_sys->iconMask != None )
     {
         hints->icon_mask = p_intf->p_sys->iconMask;
         hints->flags |= IconMaskHint;