The clipboard owner can be set by the thread that has the clipboard
open.
This commit is contained in:
parent
3088ba32fe
commit
342adc93ef
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue