diff options
author | marha <marha@users.sourceforge.net> | 2011-02-04 15:35:11 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-02-04 15:35:11 +0000 |
commit | 573e5c4f462c3f97697f16388025a8e13469487c (patch) | |
tree | ab48aa27b320ab28ca0b636770dc74f3e08b2ba2 /xorg-server/hw/xwin/winclipboardinit.c | |
parent | 81d327e65a2081a5bb48f974d9101ed9f85767a6 (diff) | |
download | vcxsrv-573e5c4f462c3f97697f16388025a8e13469487c.tar.gz vcxsrv-573e5c4f462c3f97697f16388025a8e13469487c.tar.bz2 vcxsrv-573e5c4f462c3f97697f16388025a8e13469487c.zip |
Solved a crash in multiwindow mode due to a crash overflow:
- Make sure WM_WM_REINIT and WM_WM_MOVE do not have the same value
- Make sure the nextview handle is not the same as the window itself
Diffstat (limited to 'xorg-server/hw/xwin/winclipboardinit.c')
-rw-r--r-- | xorg-server/hw/xwin/winclipboardinit.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/winclipboardinit.c b/xorg-server/hw/xwin/winclipboardinit.c index 802b12fed..d5990900a 100644 --- a/xorg-server/hw/xwin/winclipboardinit.c +++ b/xorg-server/hw/xwin/winclipboardinit.c @@ -33,6 +33,9 @@ #endif
#include "dixstruct.h"
#include "winclipboard.h"
+#include "objbase.h"
+#include "ddraw.h"
+#include "winwindow.h"
/*
@@ -135,11 +138,11 @@ winClipboardCreateMessagingWindow (void) }
void
-winFixClipboardChain (void)
+winFixClipboardChain (int Removed)
{
if (g_fClipboard
&& g_hwndClipboard)
{
- PostMessage (g_hwndClipboard, WM_WM_REINIT, 0, 0);
+ PostMessage (g_hwndClipboard, WM_WM_REINIT, Removed, 0);
}
}
|