winedbg: Also adjust the detailed crash dialog controls when maximized
André Hentschel
nerv at dawncrow.de
Wed Jan 18 15:03:59 CST 2012
in gnome2 there is a maximize button. in vd not, but still it's possible to maximize per system menu
---
programs/winedbg/crashdlg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/crashdlg.c b/programs/winedbg/crashdlg.c
index 39e9bce..1f73979 100644
--- a/programs/winedbg/crashdlg.c
+++ b/programs/winedbg/crashdlg.c
@@ -310,7 +310,7 @@ static INT_PTR WINAPI details_dlg_proc( HWND hwnd, UINT msg, WPARAM wparam, LPAR
return TRUE;
case WM_SIZE:
- if (wparam == SIZE_RESTORED)
+ if (wparam == SIZE_RESTORED || wparam == SIZE_MAXIMIZED)
{
int off_x = (short)LOWORD( lparam ) - orig_size.x;
int off_y = (short)HIWORD( lparam ) - orig_size.y;
--
Best Regards, André Hentschel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120118/56e6f974/attachment.ksh>
More information about the wine-patches
mailing list