summaryrefslogtreecommitdiff
path: root/hw/xwin
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-08-14 11:39:26 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-08-14 11:39:26 -0400
commit9a183d7ba50e31afa133cc03aee7991517a283ea (patch)
treea77da3210253f96d5d0be97a8a321920648ca81f /hw/xwin
parent2763056ab5ae31bed422a0948198d98c6ace6d55 (diff)
dix: remove caching of drawables and graphics contexts. The security checks
simply bypass the cached values so they are unused.
Diffstat (limited to 'hw/xwin')
-rwxr-xr-xhw/xwin/winclipboardwrappers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xwin/winclipboardwrappers.c b/hw/xwin/winclipboardwrappers.c
index 825d3dc70..2cfe0ffce 100755
--- a/hw/xwin/winclipboardwrappers.c
+++ b/hw/xwin/winclipboardwrappers.c
@@ -431,7 +431,6 @@ winProcSetSelectionOwner (ClientPtr client)
* and we currently own the Win32 clipboard.
*/
if (None == stuff->window
- && g_iClipboardWindow != client->lastDrawableID
&& (None == s_iOwners[CLIP_OWN_PRIMARY]
|| g_iClipboardWindow == s_iOwners[CLIP_OWN_PRIMARY])
&& (None == s_iOwners[CLIP_OWN_CLIPBOARD]