* skin_common.h: Private Skin interface description
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: skin_common.h,v 1.17 2003/06/09 14:04:20 asmax Exp $
+ * $Id: skin_common.h,v 1.18 2003/06/09 19:08:33 asmax Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
#define MOUSE_LEFT (1<<0)
#define MOUSE_RIGHT (1<<1)
#define KEY_CTRL (1<<2)
+#define KEY_SHIFT (1<<3)
//---------------------------------------------------------------------------
* x11_window.cpp: X11 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: x11_window.cpp,v 1.20 2003/06/09 14:04:20 asmax Exp $
+ * $Id: x11_window.cpp,v 1.21 2003/06/09 19:08:33 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
button = 0;
if( ((XButtonEvent *)p2 )->state & ControlMask )
{
- // Control key pressed
button |= KEY_CTRL;
+ }
+ if( ((XButtonEvent *)p2 )->state & ShiftMask )
+ {
+ button |= KEY_SHIFT;
}
switch( ( (XButtonEvent *)p2 )->button )
button = 0;
if( ((XButtonEvent *)p2 )->state & ControlMask )
{
- // Control key pressed
button |= KEY_CTRL;
}
+ if( ((XButtonEvent *)p2 )->state & ShiftMask )
+ {
+ button |= KEY_SHIFT;
+ }
+
switch( ( (XButtonEvent *)p2 )->button )
{
case 1:
* fileinfo.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: fileinfo.cpp,v 1.15 2003/06/05 21:22:27 gbazin Exp $
+ * $Id: fileinfo.cpp,v 1.16 2003/06/09 19:08:33 asmax Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
{
input_thread_t *p_input = p_intf->p_sys->p_input;
- if( !p_input || p_input->b_dead )
+ if( !p_input || p_input->b_dead || !p_input->psz_name )
{
if( fileinfo_root )
{