PatchHeimWindowStackNonGlobalInputDeviceListener

diff --git a/Source/DirectFB/src/core/windowstack.c b/Source/DirectFB/src/core/windowstack.c index 82e9f3e..6ebdd22 100644 --- a/Source/DirectFB/src/core/windowstack.c +++ b/Source/DirectFB/src/core/windowstack.c @@ -65,7 +65,7 @@ typedef struct { DirectLink      link; DFBInputDeviceID id; -    GlobalReaction   reaction; +    Reaction   reaction; } StackDevice; typedef struct { @@ -187,7 +187,7 @@ dfb_windowstack_detach_devices( CoreWindowStack *stack ) DirectLink *next   = l->next; StackDevice *device = (StackDevice*) l; -         dfb_input_detach_global( dfb_input_device_at( device->id ), +          dfb_input_detach( dfb_input_device_at( device->id ), &device->reaction );          SHFREE( stack->shmpool, device ); @@ -837,7 +837,7 @@ stack_attach_devices( CoreInputDevice *device, direct_list_prepend( &stack->devices, &dev->link ); -    dfb_input_attach_global( device, DFB_WINDOWSTACK_INPUTDEVICE_LISTENER, ctx, &dev->reaction ); +    dfb_input_attach( device, _dfb_windowstack_inputdevice_listener, ctx, &dev->reaction );^M return DFENUM_OK; }

diff --git a/Source/DirectFB/src/core/input.c b/Source/DirectFB/src/core/input.c index af2a60f..071e395 100644 --- a/Source/DirectFB/src/core/input.c +++ b/Source/DirectFB/src/core/input.c @@ -445,6 +445,8 @@ dfb_input_core_initialize( CoreDFB           *core,      core_input->reactor = fusion_reactor_new( sizeof(CoreInputCoreNotification), "Input Core", dfb_core_world( +     fusion_reactor_direct( core_input->reactor, false ); +      direct_modules_explore_directory( &dfb_input_modules );      init_drivers( core );