DFBResult IWindow_Real::ChangeGrab( CoreWMGrabTarget target, DFBBoolean grab ) { D_DEBUG_AT( Core_Window, "IWindow_Real::%s( %p )\n", __FUNCTION__, obj ); D_MAGIC_ASSERT( obj, CoreWindow ); return dfb_window_change_grab( obj, target, grab ); }
static DFBResult IDirectFBWindow_GrabKeyboard( IDirectFBWindow *thiz ) { DIRECT_INTERFACE_GET_DATA(IDirectFBWindow) D_DEBUG_AT( IDirectFB_Window, "%s()\n", __FUNCTION__ ); if (data->destroyed) return DFB_DESTROYED; return dfb_window_change_grab( data->window, CWMGT_KEYBOARD, true ); }
static DFBResult IDirectFBWindow_UngrabPointer( IDirectFBWindow *thiz ) { DIRECT_INTERFACE_GET_DATA(IDirectFBWindow) D_DEBUG_AT( IDirectFB_Window, "%s()\n", __FUNCTION__ ); if (data->destroyed) return DFB_DESTROYED; return dfb_window_change_grab( data->window, CWMGT_POINTER, false ); }
static DFBResult IDirectFBWindow_UngrabUnselectedKeys( IDirectFBWindow *thiz ) { DIRECT_INTERFACE_GET_DATA(IDirectFBWindow) D_DEBUG_AT( IDirectFB_Window, "%s()\n", __FUNCTION__ ); if (data->destroyed) return DFB_DESTROYED; return dfb_window_change_grab( data->window, CWMGT_UNSELECTED_KEYS, false ); }