Commit 342adc93 authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

The clipboard owner can be set by the thread that has the clipboard

open.
parent 3088ba32
...@@ -80,7 +80,7 @@ static int set_clipboard_window(user_handle_t win, int clear) ...@@ -80,7 +80,7 @@ static int set_clipboard_window(user_handle_t win, int clear)
static int set_clipboard_owner(user_handle_t win, int clear) static int set_clipboard_owner(user_handle_t win, int clear)
{ {
if (cbowner && cbowner != current) if (cbthread && cbthread != current)
{ {
set_error(STATUS_WAS_LOCKED); set_error(STATUS_WAS_LOCKED);
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment