Sebastian Lackner : winex11: Added missing release_win_data() to create_foreign_window().
Alexandre Julliard
julliard at winehq.org
Wed Sep 25 14:18:01 CDT 2013
Module: wine
Branch: master
Commit: 5fb74c48d10e1f511adc43caf44d09e489c5c29e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5fb74c48d10e1f511adc43caf44d09e489c5c29e
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Tue Sep 24 05:50:33 2013 +0200
winex11: Added missing release_win_data() to create_foreign_window().
---
dlls/winex11.drv/window.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 429602b..1ff36eb 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -1897,11 +1897,12 @@ HWND create_foreign_window( Display *display, Window xwin )
SetPropA( hwnd, foreign_window_prop, (HANDLE)xwin );
XSaveContext( display, xwin, winContext, (char *)data->hwnd );
- ShowWindow( hwnd, SW_SHOW );
-
TRACE( "win %lx parent %p style %08x %s -> hwnd %p\n",
xwin, parent, style, wine_dbgstr_rect(&data->window_rect), hwnd );
+ release_win_data( data );
+
+ ShowWindow( hwnd, SW_SHOW );
return hwnd;
}
More information about the wine-cvs
mailing list