summaryrefslogtreecommitdiff
path: root/src/video/directfb/SDL_DirectFB_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/directfb/SDL_DirectFB_video.c')
-rw-r--r--src/video/directfb/SDL_DirectFB_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/directfb/SDL_DirectFB_video.c b/src/video/directfb/SDL_DirectFB_video.c
index 452ea60e8..cca2fd7e2 100644
--- a/src/video/directfb/SDL_DirectFB_video.c
+++ b/src/video/directfb/SDL_DirectFB_video.c
@@ -114,6 +114,7 @@ DirectFB_CreateDevice(int devindex)
device->MinimizeWindow = DirectFB_MinimizeWindow;
device->RestoreWindow = DirectFB_RestoreWindow;
device->SetWindowMouseGrab = DirectFB_SetWindowMouseGrab;
+ device->SetWindowKeyboardGrab = DirectFB_SetWindowKeyboardGrab;
device->DestroyWindow = DirectFB_DestroyWindow;
device->GetWindowWMInfo = DirectFB_GetWindowWMInfo;
@@ -260,7 +261,6 @@ DirectFB_VideoInit(_THIS)
devdata->dfb = dfb;
devdata->firstwin = NULL;
- devdata->grabbed_window = NULL;
_this->driverdata = devdata;