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=b2271cc1bd4a5657716a2c9c2b3dc5d605736eaa;hpb=0c7caf2be89c7285aed60c5cb7a5ace9776033ab;p=sdl_omap.git diff --git a/src/video/omapdss/osdl_video.c b/src/video/omapdss/osdl_video.c index b2271cc..9379cab 100644 --- a/src/video/omapdss/osdl_video.c +++ b/src/video/omapdss/osdl_video.c @@ -17,7 +17,7 @@ #include #include -#include "omapsdl.h" +#include "osdl.h" #include "omapfb.h" #include "linux/fbdev.h" #include "linux/xenv.h" @@ -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) {