X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvideo%2Fomapdss%2Fosdl_video.c;h=9379cabf89dcdff3c81ae1c41c8d24fa7a4c344f;hb=e1837b2c78d48d2811ff77e8702810b7620dd4f8;hp=e1b9d5c59e69084b29a2c20194efa5532a726d80;hpb=9ab462cd62f28e75898b20c6d9e31ad45a220d7d;p=sdl_omap.git diff --git a/src/video/omapdss/osdl_video.c b/src/video/omapdss/osdl_video.c index e1b9d5c..9379cab 100644 --- a/src/video/omapdss/osdl_video.c +++ b/src/video/omapdss/osdl_video.c @@ -373,9 +373,12 @@ void *osdl_video_set_mode(struct SDL_PrivateVideoData *pdata, goto fail; if (!pdata->xenv_up) { - ret = xenv_init(); - if (ret == 0) + int xenv_mouse = 0; + ret = xenv_init(&xenv_mouse); + if (ret == 0) { pdata->xenv_up = 1; + pdata->xenv_mouse = xenv_mouse; + } } if (buffers_try != buffers_set) {