msi: Fix the dialog centering logic.

Mike McCormack mike at codeweavers.com
Mon Aug 7 03:08:27 CDT 2006


This should be tested with a window manager that doesn't auto-place windows.

The existing logic seems to center the upper left corner of the dialog.

Mike

---
  dlls/msi/dialog.c |   41 ++++++++++++++++++++++++-----------------
  1 files changed, 24 insertions(+), 17 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5c177e24642462dc5268eb9bfee1d0064ca9c4b1.diff
Type: text/x-patch
Size: 2941 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060807/88947c29/5c177e24642462dc5268eb9bfee1d0064ca9c4b1.bin


More information about the wine-patches mailing list