DFBResult IWindow_Real::ChangeEvents( DFBWindowEventType disable, DFBWindowEventType enable ) { D_DEBUG_AT( Core_Window, "IWindow_Real::%s( %p )\n", __FUNCTION__, obj ); D_MAGIC_ASSERT( obj, CoreWindow ); return dfb_window_change_events( obj, disable, enable ); }
static DFBResult IDirectFBWindow_DisableEvents( IDirectFBWindow *thiz, DFBWindowEventType mask ) { DIRECT_INTERFACE_GET_DATA(IDirectFBWindow) D_DEBUG_AT( IDirectFB_Window, "%s()\n", __FUNCTION__ ); if (data->destroyed) return DFB_DESTROYED; if (mask & ~DWET_ALL) return DFB_INVARG; return dfb_window_change_events( data->window, mask, DWET_NONE ); }