winex11.drv: Select property change events on selection request windows.

This commit is contained in:
Vincent Povirk 2013-01-03 16:59:14 -06:00 committed by Alexandre Julliard
parent 1a45569f72
commit 4013dc85e9
1 changed files with 4 additions and 0 deletions

View File

@ -262,7 +262,11 @@ static Window thread_selection_wnd(void)
w = XCreateWindow(thread_data->display, root_window, 0, 0, 1, 1, 0, CopyFromParent,
InputOnly, CopyFromParent, 0, NULL);
if (w)
{
thread_data->selection_wnd = w;
XSelectInput(thread_data->display, w, PropertyChangeMask);
}
else
FIXME("Failed to create window. Fetching selection data will fail.\n");
}