src/native/globalshortcut/net_java_sip_communicator_impl_globalshortcut_NativeKeyboardHook.cc
/**
 * \brief Convert Java user-defined modifiers to X11 ones.
 * \param modifiers Java user-defined modifiers
 * \return X11 modifiers
 */
\brief Convert Java user-defined modifiers to X11 ones.
\ brief Convert Java user - defined modifiers to X11 ones .
static int JavaUserDefinedModifiersToX11(int modifiers)
{
  int x11Modifiers = 0;
  if(modifiers & 0x01)
  {
    x11Modifiers |= ControlMask;
  }
  if(modifiers & 0x02)
  {
    x11Modifiers |= Mod1Mask;
  }
  if(modifiers & 0x04)
  {
    x11Modifiers |= ShiftMask;
  }
  if(modifiers & 0x08)
  {
    x11Modifiers |= Mod4Mask;
  }
  return x11Modifiers;
}
static int JavaUserDefinedModifiersToX11 ( int modifiers ) { int x11Modifiers = 0 ; if ( modifiers & 0x01 ) { x11Modifiers |= ControlMask ; } if ( modifiers & 0x02 ) { x11Modifiers |= Mod1Mask ; } if ( modifiers & 0x04 ) { x11Modifiers |= ShiftMask ; } if ( modifiers & 0x08 ) { x11Modifiers |= Mod4Mask ; } return x11Modifiers ; }
\brief Convert Java user-defined modifiers to X11 ones.
\ brief Convert Java user - defined modifiers to X11 ones .
/* Alt */ /* Super */