From 342adc93eff445046f5458d44b18de536fd9984a Mon Sep 17 00:00:00 2001 From: Ulrich Czekalla Date: Mon, 23 Aug 2004 17:57:03 +0000 Subject: [PATCH] The clipboard owner can be set by the thread that has the clipboard open. --- server/clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/clipboard.c b/server/clipboard.c index 5b9d6b46010..063fe8c9067 100644 --- a/server/clipboard.c +++ b/server/clipboard.c @@ -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;