Fix xegl_ctx.c mouse activation

The mouse is not working when using opengles with x11. This fix adds the required notifications.
This commit is contained in:
repojohnray 2021-04-03 15:56:06 +02:00
parent f7d0908ff1
commit 45047732a7

View File

@ -300,7 +300,8 @@ static bool gfx_ctx_xegl_set_video_mode(void *data,
g_x11_dpy, RootWindow(g_x11_dpy, vi->screen),
vi->visual, AllocNone);
swa.event_mask = StructureNotifyMask | KeyPressMask |
ButtonPressMask | ButtonReleaseMask | KeyReleaseMask;
ButtonPressMask | ButtonReleaseMask | KeyReleaseMask |
EnterWindowMask | LeaveWindowMask;
swa.override_redirect = False;
if (fullscreen && !windowed_fullscreen)