<div dir="ltr">Ignore this 7th patch, it doesn't work</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 25, 2019 at 11:32 PM Derek Lesho <<a href="mailto:dereklesho52@gmail.com">dereklesho52@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Derek Lesho <dereklesho52@Gmail.com><br>
---<br>
dlls/winex11.drv/event.c | 12 ++++++++++--<br>
1 file changed, 10 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c<br>
index 6054f645c4..30988be028 100644<br>
--- a/dlls/winex11.drv/event.c<br>
+++ b/dlls/winex11.drv/event.c<br>
@@ -762,7 +762,11 @@ static BOOL X11DRV_FocusIn( HWND hwnd, XEvent *xev )<br>
TRACE( "win %p xwin %lx detail=%s\n", hwnd, event->window, focus_details[event->detail] );<br>
<br>
if (event->detail == NotifyPointer) return FALSE;<br>
- if (hwnd == GetDesktopWindow()) return FALSE;<br>
+ if (hwnd == GetDesktopWindow())<br>
+ {<br>
+ X11DRV_XInput2_Enable();<br>
+ return FALSE;<br>
+ }<br>
<br>
if ((xic = X11DRV_get_ic( hwnd ))) XSetICFocus( xic );<br>
if (use_take_focus)<br>
@@ -800,7 +804,11 @@ static void focus_out( Display *display , HWND hwnd )<br>
<br>
if (root_window != DefaultRootWindow(display))<br>
{<br>
- if (hwnd == GetDesktopWindow()) reset_clipping_window();<br>
+ if (hwnd == GetDesktopWindow())<br>
+ {<br>
+ reset_clipping_window();<br>
+ X11DRV_XInput2_Disable();<br>
+ }<br>
return;<br>
}<br>
if (hwnd != GetForegroundWindow()) return;<br>
-- <br>
2.21.0<br>
<br>
</blockquote></div>