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

open.
This commit is contained in:
Ulrich Czekalla 2004-08-23 17:57:03 +00:00 committed by Alexandre Julliard
parent 3088ba32fe
commit 342adc93ef

View file

@ -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)
{
if (cbowner && cbowner != current)
if (cbthread && cbthread != current)
{
set_error(STATUS_WAS_LOCKED);
return 0;