summaryrefslogtreecommitdiff
path: root/hw/xwin/winmultiwindowclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winmultiwindowclass.c')
-rwxr-xr-xhw/xwin/winmultiwindowclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winmultiwindowclass.c b/hw/xwin/winmultiwindowclass.c
index d8909f0e5..57c434669 100755
--- a/hw/xwin/winmultiwindowclass.c
+++ b/hw/xwin/winmultiwindowclass.c
@@ -264,7 +264,7 @@ winMultiWindowGetTransientFor (WindowPtr pWin, WindowPtr *ppDaddy)
if (prop->propertyName == XA_WM_TRANSIENT_FOR)
{
if (ppDaddy)
- memcpy (*ppDaddy, prop->data, sizeof (WindowPtr *));
+ memcpy (*ppDaddy, prop->data, sizeof (WindowPtr));
return 1;
}
else