xfreerdp: add missing event mask.

This commit is contained in:
Vic Lee 2011-09-06 00:06:49 +08:00
parent 97ead04b12
commit 01939cbd28

View File

@ -241,7 +241,7 @@ xfWindow* xf_CreateDesktopWindow(xfInfo* xfi, char* name, int width, int height)
input_mask =
KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask |
VisibilityChangeMask | FocusChangeMask | StructureNotifyMask |
PointerMotionMask | ExposureMask;
PointerMotionMask | ExposureMask | EnterWindowMask | LeaveWindowMask;
XSelectInput(xfi->display, window->handle, input_mask);
XMapWindow(xfi->display, window->handle);