src/video/directfb/SDL_DirectFB_video.c
changeset 4636 b196d2758026
parent 4568 25b9cd8bdc30
child 5199 164f20ba08eb
equal deleted inserted replaced
4635:0a07d002f10b 4636:b196d2758026
   207             DirectFBSetOption("system", "x11");
   207             DirectFBSetOption("system", "x11");
   208         else
   208         else
   209             DirectFBSetOption("disable-module", "x11input");
   209             DirectFBSetOption("disable-module", "x11input");
   210     }
   210     }
   211 
   211 
   212 #if USE_MULTI_API
   212 	/* FIXME: Reenable as default once multi kbd/mouse interface is sorted out */
   213 	devdata->use_linux_input = 1;       /* default: on */
   213 	devdata->use_linux_input = 0;       /* default: on */
   214     stemp = SDL_getenv(DFBENV_USE_LINUX_INPUT);
   214     stemp = SDL_getenv(DFBENV_USE_LINUX_INPUT);
   215     if (stemp)
   215     if (stemp)
   216         devdata->use_linux_input = atoi(stemp);
   216         devdata->use_linux_input = atoi(stemp);
   217 #else
       
   218 	devdata->use_linux_input = 0;       /* no way to support this ... */
       
   219 #endif
       
   220 
   217 
   221     if (!devdata->use_linux_input)
   218     if (!devdata->use_linux_input)
   222         DirectFBSetOption("disable-module", "linux_input");
   219         DirectFBSetOption("disable-module", "linux_input");
   223 
   220 
   224     SDL_DFB_CHECKERR(DirectFBCreate(&dfb));
   221     SDL_DFB_CHECKERR(DirectFBCreate(&dfb));
   251     else
   248     else
   252         devdata->has_own_wm = 0;
   249         devdata->has_own_wm = 0;
   253 
   250 
   254     devdata->dfb = dfb;
   251     devdata->dfb = dfb;
   255     devdata->firstwin = NULL;
   252     devdata->firstwin = NULL;
       
   253     devdata->grabbed_window = NULL;
   256 
   254 
   257     _this->driverdata = devdata;
   255     _this->driverdata = devdata;
   258 
   256 
   259     DirectFB_InitModes(_this);
   257     DirectFB_InitModes(_this);
   260 
   258