Module: wine Branch: master Commit: 4013dc85e90e1124489b4055194fa789adcbca2e URL: http://source.winehq.org/git/wine.git/?a=commit;h=4013dc85e90e1124489b405519...
Author: Vincent Povirk vincent@codeweavers.com Date: Thu Jan 3 16:59:14 2013 -0600
winex11.drv: Select property change events on selection request windows.
---
dlls/winex11.drv/clipboard.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c index e2f5b12..1da3a22 100644 --- a/dlls/winex11.drv/clipboard.c +++ b/dlls/winex11.drv/clipboard.c @@ -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"); }